projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00805a
)
glsl/cl: silence unused var warning
author
Brian Paul
<brianp@vmware.com>
Thu, 10 Dec 2009 15:24:45 +0000
(08:24 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 10 Dec 2009 15:24:45 +0000
(08:24 -0700)
src/glsl/cl/sl_cl_parse.c
patch
|
blob
|
history
diff --git
a/src/glsl/cl/sl_cl_parse.c
b/src/glsl/cl/sl_cl_parse.c
index 5919186c5204a30e5f212f289ab96058723206eb..81e30a8c28ccdf5d3e42c8c03c77d556862dd272 100644
(file)
--- 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);
}