This warning was issued only in release mode. Fix it by fake-using the parameter. --- 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 0fc3231654..369b4c3126 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.13.6 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev