projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34e5b46
)
gallium/tests: fix unused-but-set-variable warning
author
Michel Zou
<xantares09@hotmail.com>
Sun, 29 Nov 2020 10:41:04 +0000
(11:41 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 1 Dec 2020 16:51:01 +0000
(16:51 +0000)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7713>
src/gallium/tests/unit/u_cache_test.c
patch
|
blob
|
history
diff --git
a/src/gallium/tests/unit/u_cache_test.c
b/src/gallium/tests/unit/u_cache_test.c
index
cf8f70b
..
16fb1b8
100644
(file)
--- a/
src/gallium/tests/unit/u_cache_test.c
+++ b/
src/gallium/tests/unit/u_cache_test.c
@@
-89,6
+89,7
@@
int main() {
*key = 0xdeadbeef;
value_out = (cache_test_value *) util_cache_get(cache, key);
assert(value_out == NULL);
+ (void)value_out;
free(key);