X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglsl%2Fglcpp%2Fglcpp.c;h=e461a6502652fa8e023a77ae08d4248f63358ce8;hb=354f2cb5c7330a7d43cf0b177daf758d2aa31e0a;hp=325289129d53006c3c9902bb01f676a2f339269e;hpb=54f11a27a1ec28fcf9734f4454dee870bc0113f8;p=mesa.git 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; }