diff options
author | Brian Paul <[email protected]> | 2009-12-10 08:24:45 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-10 08:24:45 -0700 |
commit | 7502b6affa72915cadeb0837028e7655e459da69 (patch) | |
tree | 57eba1c422868a7efa75c19cae9bbd8163f73163 /src | |
parent | f00805a11756fa9d2bdfce15f51ae4798d72b5fb (diff) |
glsl/cl: silence unused var warning
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/cl/sl_cl_parse.c | 2 |
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); } |