From cf93a7fc9eba4f706749ef0051ac2d93122caf4c Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 16 Nov 2017 16:09:39 +0100 Subject: [PATCH] gallium/aux/util/u_format.c: Fix one -Wunused-param warning This warning was issued only in release mode. Fix it by fake-using the parameter. Signed-off-by: Gert Wollny Reviewed-by: Brian Paul (v1) --- src/gallium/auxiliary/util/u_format.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/util/u_format.c b/src/gallium/auxiliary/util/u_format.c index 0fc32316548..369b4c3126b 100644 --- a/src/gallium/auxiliary/util/u_format.c +++ b/src/gallium/auxiliary/util/u_format.c @@ -249,6 +249,8 @@ util_format_is_supported(enum pipe_format format, unsigned bind) util_format_is_float(format)) { return FALSE; } +#else + (void)bind; #endif return TRUE; -- 2.30.2