Removed unused variable.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Fri, 27 May 2011 13:44:32 +0000 (15:44 +0200)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Fri, 27 May 2011 13:47:35 +0000 (15:47 +0200)
The get_n in the foreach loop is a macro and not a use of the function.

ir/ir/iredges.c

index 08afc4b..56c9f7e 100644 (file)
@@ -519,9 +519,7 @@ static void build_edges_walker(ir_node *irn, void *data)
        int                   i, n;
        ir_edge_kind_t        kind = w->kind;
        ir_graph              *irg = get_irn_irg(irn);
-       get_edge_src_n_func_t *get_n;
 
-       get_n = edge_kind_info[kind].get_n;
        foreach_tgt(irn, i, n, kind) {
                ir_node *pred = get_n(irn, i, kind);
                edges_notify_edge_kind(irn, i, pred, NULL, kind, irg);