diff options
author | Eric Engestrom <[email protected]> | 2018-10-20 18:00:09 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-10-25 12:43:18 +0100 |
commit | e27902a261361e8a7980db14138ef13753db196d (patch) | |
tree | 021b6638314baf37073766f1092e2be736da75aa /src/compiler/nir/nir_split_vars.c | |
parent | bb84fa146f2252f22999205a2904d8a948bffd3b (diff) |
util: use C99 declaration in the for-loop set_foreach() macro
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_split_vars.c')
-rw-r--r-- | src/compiler/nir/nir_split_vars.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_split_vars.c b/src/compiler/nir/nir_split_vars.c index 7eda99819cc..bf9205c5150 100644 --- a/src/compiler/nir/nir_split_vars.c +++ b/src/compiler/nir/nir_split_vars.c @@ -1200,7 +1200,6 @@ shrink_vec_var_list(struct exec_list *vars, if (!var_usage || !var_usage->vars_copied) continue; - struct set_entry *copy_entry; set_foreach(var_usage->vars_copied, copy_entry) { struct vec_var_usage *copy_usage = (void *)copy_entry->key; if (copy_usage->comps_kept != var_usage->comps_kept) { |