diff options
author | Gert Wollny <[email protected]> | 2017-11-16 16:09:39 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-17 09:27:56 -0700 |
commit | cf93a7fc9eba4f706749ef0051ac2d93122caf4c (patch) | |
tree | cde42d6e195092f164f4b755d728ee597851ff99 /src/gallium/auxiliary | |
parent | e979ab70c2b1aa350ae6f23fe9affd9d8dd636ff (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]> (v1)
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |