Mesa (master): mesa: Silence "main/teximage.h:148:72: warning: =?UTF-8?Q?=20unused=20parameter=20=E2=80=98?==?UTF-8?Q?texObj=E2=80=99?="
Ian Romanick
idr at kemper.freedesktop.org
Fri Sep 9 19:20:30 UTC 2011
Module: Mesa
Branch: master
Commit: aaa305215cbbf150c6bd0b2c92122f52720fe25a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaa305215cbbf150c6bd0b2c92122f52720fe25a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Aug 19 08:55:19 2011 -0700
mesa: Silence "main/teximage.h:148:72: warning: unused parameter ‘texObj’"
---
src/mesa/main/teximage.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 19abc64..8ef1d45 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);
}
More information about the mesa-commit
mailing list