summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/glcpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/glcpp.c')
-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;
}