summaryrefslogtreecommitdiff
path: root/src/glsl/cl/sl_cl_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/cl/sl_cl_parse.c')
-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 5919186c52..81e30a8c28 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);
}