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
@@ -409,7 +409,6 @@ free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared)
|
||||
_mesa_reference_buffer_object(ctx, &shared->NullBufferObj, NULL);
|
||||
|
||||
if (shared->SyncObjects) {
|
||||
struct set_entry *entry;
|
||||
set_foreach(shared->SyncObjects, entry) {
|
||||
_mesa_unref_sync_object(ctx, (struct gl_sync_object *) entry->key, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user