summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belistsched.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 09:35:51 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 23:03:57 +0200
commit5619c9122551713adbefc33977572639408dd8b9 (patch)
treed2733b5f8b468ee8e05bea8191c1406efb41a865 /ir/be/belistsched.c
parent3aeb68ad2fefc380a05eccba1a8105ddbbd4ab21 (diff)
Let foreach_out_edge_kind() and foreach_out_edge_kind_safe() declare their iterator variables.
Diffstat (limited to 'ir/be/belistsched.c')
-rw-r--r--ir/be/belistsched.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ir/be/belistsched.c b/ir/be/belistsched.c
index 72d8c55..6839410 100644
--- a/ir/be/belistsched.c
+++ b/ir/be/belistsched.c
@@ -164,8 +164,6 @@ static void try_make_ready(block_sched_env_t *env, ir_node *pred, ir_node *irn)
static void selected(block_sched_env_t *env, ir_node *node)
{
- const ir_edge_t *edge;
-
/* notify the selector about the finally selected node. */
if (env->selector->node_selected)
env->selector->node_selected(env->selector_block_env, node);
@@ -221,7 +219,6 @@ static void list_sched_block(ir_node *block, void *env_ptr)
const list_sched_selector_t *selector = env->selector;
block_sched_env_t be;
- const ir_edge_t *edge;
ir_nodeset_t *cands = &be.cands;
/* Initialize the block's list head that will hold the schedule. */