mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 08:00:12 +01:00
glsl/cl: silence unused var warning
This commit is contained in:
parent
f00805a117
commit
7502b6affa
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue