summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beblocksched.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/beblocksched.c
parent3aeb68ad2fefc380a05eccba1a8105ddbbd4ab21 (diff)
Let foreach_out_edge_kind() and foreach_out_edge_kind_safe() declare their iterator variables.
Diffstat (limited to 'ir/be/beblocksched.c')
-rw-r--r--ir/be/beblocksched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c
index 029bafd..12d6073 100644
--- a/ir/be/beblocksched.c
+++ b/ir/be/beblocksched.c
@@ -395,8 +395,7 @@ static void pick_block_successor(blocksched_entry_t *entry, blocksched_env_t *en
ir_node *block = entry->block;
ir_node *succ = NULL;
blocksched_entry_t *succ_entry;
- const ir_edge_t *edge;
- double best_succ_execfreq;
+ double best_succ_execfreq;
if (irn_visited_else_mark(block))
return;