Let foreach_set() declare the iterator variable.
[libfirm] / ir / tr / tr_inheritance.c
index 529bb6d..b55f5ec 100644 (file)
@@ -396,7 +396,6 @@ void compute_inh_transitive_closure(void)
 void free_inh_transitive_closure(void)
 {
        if (tr_inh_trans_set) {
-               tr_inh_trans_tp *elt;
                foreach_set(tr_inh_trans_set, tr_inh_trans_tp, elt) {
                        del_pset(elt->directions[d_up]);
                        del_pset(elt->directions[d_down]);