diff options
author | Gert Wollny <[email protected]> | 2017-11-16 16:09:55 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-17 09:27:57 -0700 |
commit | 537d04615d4e4c41ba4959445d8bd1bd22763d50 (patch) | |
tree | d766d3989bc4976c794b4783b88f3377b6babcdb /src/gallium/auxiliary | |
parent | 4bdad3d98ccf6a408fd0d13224c22e07c81a87ae (diff) |
gallium/aux/os/os_thread.h: Silence -Wunused-param.
With --disable-debug a parameter is not used. Silence this
warning by fake-using it.
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/os/os_thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h index d9c685922a5..f2629c5ffe5 100644 --- 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 } |