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 <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Gert Wollny 2017-11-16 16:09:55 +01:00 committed by Brian Paul
parent 4bdad3d98c
commit 537d04615d
1 changed files with 2 additions and 0 deletions

View File

@ -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
}