projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: use C99 declaration in the for-loop set_foreach() macro
[mesa.git]
/
src
/
compiler
/
nir
/
nir_print.c
diff --git
a/src/compiler/nir/nir_print.c
b/src/compiler/nir/nir_print.c
index 19f26f4640571d85b29c68f6546bf1b9c2f38c07..ab3d5115688c42e144993069d2894f55bf2d47ad 100644
(file)
--- a/
src/compiler/nir/nir_print.c
+++ b/
src/compiler/nir/nir_print.c
@@
-1085,7
+1085,6
@@
print_block(nir_block *block, print_state *state, unsigned tabs)
nir_block **preds =
malloc(block->predecessors->entries * sizeof(nir_block *));
- struct set_entry *entry;
unsigned i = 0;
set_foreach(block->predecessors, entry) {
preds[i++] = (nir_block *) entry->key;