[Mesa-dev] [PATCH 16/20] mesa: Silence "main/teximage.h:148:72: warning: unused parameter ‘texObj’"

Ian Romanick idr at freedesktop.org
Mon Aug 29 14:59:06 PDT 2011


From: Ian Romanick <ian.d.romanick at intel.com>

---
 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);
 }
 
-- 
1.7.4.4



More information about the mesa-dev mailing list