glsl/cl: silence unused var warning

This commit is contained in:
Brian Paul 2009-12-10 08:24:45 -07:00
parent f00805a117
commit 7502b6affa
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}