util: use C99 declaration in the for-loop set_foreach() macro
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:

committed by
Eric Engestrom

parent
bb84fa146f
commit
e27902a261
@@ -111,7 +111,6 @@ public:
|
||||
/* TODO: Check write mask, and possibly not clear everything. */
|
||||
|
||||
/* For any usage of our variable on the RHS, clear it out. */
|
||||
struct set_entry *set_entry;
|
||||
set_foreach(entry->dsts, set_entry) {
|
||||
ir_variable *dst_var = (ir_variable *)set_entry->key;
|
||||
acp_entry *dst_entry = pull_acp(dst_var);
|
||||
|
Reference in New Issue
Block a user