aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-29 14:56:29 -0700
committerIan Romanick <[email protected]>2011-09-09 12:01:50 -0700
commit9a3bd5e0452c9c791ba94155d3c9ddba42abd114 (patch)
treeb4b8600b5df735d507f162714c8844a67207943b /src/glsl/glcpp
parent681d432f8186cd97e04cf293add72fd73c50523d (diff)
glsl: Silence several "warning: unused parameter"
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r--src/glsl/glcpp/glcpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp.c b/src/glsl/glcpp/glcpp.c
index 325289129d5..e461a650265 100644
--- a/src/glsl/glcpp/glcpp.c
+++ b/src/glsl/glcpp/glcpp.c
@@ -34,6 +34,7 @@ void
_mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
struct gl_shader *sh)
{
+ (void) ctx;
*ptr = sh;
}