util: use C99 declaration in the for-loop set_foreach() macro
[mesa.git] / src / compiler / nir / nir_liveness.c
index 1fcb01d5ef63abb6c03c6ee7916f7a8cba6cf683..03e252fbfd83950280bf2bcb1f7f142b3d988f35 100644 (file)
@@ -218,7 +218,6 @@ nir_live_ssa_defs_impl(nir_function_impl *impl)
        * changed, add the predecessor to the work list so that we ensure
        * that the new information is used.
        */
-      struct set_entry *entry;
       set_foreach(block->predecessors, entry) {
          nir_block *pred = (nir_block *)entry->key;
          if (propagate_across_edge(pred, block, &state))