summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glsl/cl/sl_cl_parse.c2
1 files changed, 2 insertions, 0 deletions
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);
}