From fa0819df0ca2e7bb7b3bef22654cdecd26401781 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 18 Jun 2007 18:55:28 +0000 Subject: [PATCH] removed superflous LC_OPT_ENT_NULL, use LC_OPT_LAST insteadremoved C99 feature [r14618] --- ir/be/belistsched.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ir/be/belistsched.c b/ir/be/belistsched.c index e28eaa537..1fa744e2b 100644 --- a/ir/be/belistsched.c +++ b/ir/be/belistsched.c @@ -123,7 +123,7 @@ static lc_opt_enum_int_var_t sched_prep_var = { static const lc_opt_table_entry_t list_sched_option_table[] = { LC_OPT_ENT_ENUM_PTR("prep", "schedule preparation", &sched_prep_var), LC_OPT_ENT_ENUM_PTR("select", "node selector", &sched_select_var), - LC_OPT_ENT_NULL + LC_OPT_LAST }; /** @@ -567,13 +567,14 @@ void list_sched(const be_irg_t *birg, be_options_t *be_opts) { const arch_env_t *arch_env = birg->main_env->arch_env; ir_graph *irg = birg->irg; - (void) be_opts; int num_nodes; sched_env_t env; mris_env_t *mris = NULL; list_sched_selector_t sel; + (void)be_opts; + /* Select a scheduler based on backend options */ switch (list_sched_options.select) { case BE_SCHED_SELECT_TRIVIAL: @@ -650,12 +651,13 @@ void list_sched_single_block(const be_irg_t *birg, ir_node *block, { const arch_env_t *arch_env = birg->main_env->arch_env; ir_graph *irg = birg->irg; - (void) be_opts; int num_nodes; sched_env_t env; list_sched_selector_t sel; + (void)be_opts; + /* Select a scheduler based on backend options */ switch (list_sched_options.select) { case BE_SCHED_SELECT_TRIVIAL: -- 2.20.1