summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_hash.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_hash.c b/src/gallium/auxiliary/cso_cache/cso_hash.c
index 8d867f86d2..0646efd952 100644
--- a/src/gallium/auxiliary/cso_cache/cso_hash.c
+++ b/src/gallium/auxiliary/cso_cache/cso_hash.c
@@ -228,8 +228,10 @@ struct cso_hash_iter cso_hash_insert(struct cso_hash *hash,
return null_iter;
}
- struct cso_hash_iter iter = {hash, node};
- return iter;
+ {
+ struct cso_hash_iter iter = {hash, node};
+ return iter;
+ }
}
}