From: Brian Paul Date: Thu, 10 Dec 2009 15:24:45 +0000 (-0700) Subject: glsl/cl: silence unused var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7502b6affa72915cadeb0837028e7655e459da69;p=mesa.git glsl/cl: silence unused var warning --- diff --git a/src/glsl/cl/sl_cl_parse.c b/src/glsl/cl/sl_cl_parse.c index 5919186c520..81e30a8c28c 100644 --- a/src/glsl/cl/sl_cl_parse.c +++ b/src/glsl/cl/sl_cl_parse.c @@ -1596,6 +1596,8 @@ _parse_parameter_declaration(struct parse_context *ctx, struct parse_state p = *ps; unsigned int e = _emit(ctx, &p.out, PARAMETER_NEXT); + (void) e; + if (_parse_type_qualifier(ctx, &p)) { _emit(ctx, &p.out, TYPE_QUALIFIER_NONE); }