summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bedump.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 08:48:34 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 23:03:56 +0200
commit406d820e1983cade888f3cc3931dc1fb0c5ffea3 (patch)
treef716d2d86eb0e9bf76594d81a1f3608a1947c6f4 /ir/be/bedump.c
parent8a5ac70896b18a522fa39aad29b3c7cf36d5941e (diff)
Let co_gs_foreach_neighb() declare the iterator variable.
Diffstat (limited to 'ir/be/bedump.c')
-rw-r--r--ir/be/bedump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ir/be/bedump.c b/ir/be/bedump.c
index 33ece8c..4952fd2 100644
--- a/ir/be/bedump.c
+++ b/ir/be/bedump.c
@@ -85,8 +85,6 @@ static void dump_affinity_edges(FILE *F, const copy_opt_t *co,
bool dump_costs, bool dump_colors)
{
co_gs_foreach_aff_node(co, a) {
- neighb_t *n;
-
co_gs_foreach_neighb(a, n) {
/* edges are bidirection, dumping one direction is enough */
if (get_irn_node_nr(a->irn) >= get_irn_node_nr(n->irn))