projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb0417
)
glsl: Remove unnecessary "unused variable" warning suppression.
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 9 Nov 2010 23:54:02 +0000
(15:54 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 9 Nov 2010 23:55:40 +0000
(15:55 -0800)
The "instructions" variable -is- used, so the cast to void can go away.
src/glsl/ast_function.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ast_function.cpp
b/src/glsl/ast_function.cpp
index e31f79926deaeb47217e75099e0af32536940dac..e9e8d250014216f023aa309936b67f816e54989b 100644
(file)
--- a/
src/glsl/ast_function.cpp
+++ b/
src/glsl/ast_function.cpp
@@
-101,9
+101,6
@@
process_call(exec_list *instructions, ir_function *f,
ir_function_signature *sig = f->matching_signature(actual_parameters);
- /* The instructions param will be used when the FINISHMEs below are done */
- (void) instructions;
-
if (sig != NULL) {
/* Verify that 'out' and 'inout' actual parameters are lvalues. This
* isn't done in ir_function::matching_signature because that function