summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-26 10:24:36 -0700
committerIan Romanick <[email protected]>2011-09-09 12:01:51 -0700
commited3040f3baa468a0e16ea1ae2e5202c18d838c8f (patch)
treed8d63a23441e7a050616c30835a58a0704def2bd /src
parent4d5c820b4f1b5c8f182be98ae2f3cdc993025388 (diff)
intel: Silence several "warning: unused parameter"
Trivially silence the compiler by adding '(void) foo;' for each unused parameter. These parameters could not be removed. They are part of interface used elsewhere in Mesa, and some of the other customers actually use these parameters.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex.c b/src/mesa/drivers/dri/intel/intel_tex.c
index 4faa01a8627..f97952348d4 100644
--- a/src/mesa/drivers/dri/intel/intel_tex.c
+++ b/src/mesa/drivers/dri/intel/intel_tex.c
@@ -24,6 +24,8 @@ intelNewTextureObject(struct gl_context * ctx, GLuint name, GLenum target)
{
struct intel_texture_object *obj = CALLOC_STRUCT(intel_texture_object);
+ (void) ctx;
+
DBG("%s\n", __FUNCTION__);
_mesa_initialize_texture_object(&obj->base, name, target);