add missing initialization
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 3 Apr 2006 11:48:13 +0000 (11:48 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 3 Apr 2006 11:48:13 +0000 (11:48 +0000)
ir/be/beifg.c

index 4ab3024..b43d260 100644 (file)
@@ -126,6 +126,7 @@ int be_ifg_is_simplicial(const be_ifg_t *ifg, const ir_node *irn)
        ir_node *curr;
        int i, j;
 
+       i = 0;
        be_ifg_foreach_neighbour(ifg, iter, irn, curr)
                neighbours[i++] = curr;