projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bdad3d
)
gallium/aux/os/os_thread.h: Silence -Wunused-param.
author
Gert Wollny
<gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:09:55 +0000
(16:09 +0100)
committer
Brian Paul
<brianp@vmware.com>
Fri, 17 Nov 2017 16:27:57 +0000
(09:27 -0700)
With --disable-debug a parameter is not used. Silence this
warning by fake-using it.
Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/os/os_thread.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/os/os_thread.h
b/src/gallium/auxiliary/os/os_thread.h
index d9c685922a5e05e4c84a74d6771d36c3f888f4e0..f2629c5ffe592a44e45995566d437c06417203c5 100644
(file)
--- a/
src/gallium/auxiliary/os/os_thread.h
+++ b/
src/gallium/auxiliary/os/os_thread.h
@@
-56,6
+56,8
@@
__pipe_mutex_assert_locked(mtx_t *mutex)
assert(ret == thrd_busy);
if (ret == thrd_success)
mtx_unlock(mutex);
+#else
+ (void)mutex;
#endif
}