From: Ian Romanick Date: Fri, 19 Aug 2011 15:55:19 +0000 (-0700) Subject: mesa: Silence "main/teximage.h:148:72: warning: unused parameter ‘texObj’" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aaa305215cbbf150c6bd0b2c92122f52720fe25a;p=mesa.git mesa: Silence "main/teximage.h:148:72: warning: unused parameter ‘texObj’" --- diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 19abc649898..8ef1d4560ae 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -147,6 +147,7 @@ _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) static INLINE void _mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) { + (void) texObj; _glthread_UNLOCK_MUTEX(ctx->Shared->TexMutex); }