mesa: replace MAYBE_UNUSED with UNUSED
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 22 Jun 2019 17:05:14 +0000 (18:05 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Jul 2019 08:41:05 +0000 (09:41 +0100)
MAYBE_UNUSED is going away, so let's replace legitimate uses of it with
UNUSED, which the former aliased to so far anyway.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/texstore.h

index 2fef7ba7d7daccfbcbc49fa1558d74fec2e0ff2e..9d735d16c707fd05ea83fd421a1fe946e22415e3 100644 (file)
@@ -60,8 +60,8 @@ struct gl_texture_image;
  */
 #define TEXSTORE_PARAMS \
        struct gl_context *ctx, GLuint dims, \
-        MAYBE_UNUSED GLenum baseInternalFormat, \
-        MAYBE_UNUSED mesa_format dstFormat, \
+        UNUSED GLenum baseInternalFormat, \
+        UNUSED mesa_format dstFormat, \
         GLint dstRowStride, \
         GLubyte **dstSlices, \
        GLint srcWidth, GLint srcHeight, GLint srcDepth, \