summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-11-09 15:54:02 -0800
committerKenneth Graunke <[email protected]>2010-11-09 15:55:40 -0800
commitafb6fb9a92afaecbb0f8e9e65380c842667a4bd4 (patch)
tree4815d7f22efa55285bf15e4e42a8924367770b59 /src
parentefb0417040f4bdd55cf07dd8f54ecd4fc92c1286 (diff)
glsl: Remove unnecessary "unused variable" warning suppression.
The "instructions" variable -is- used, so the cast to void can go away.
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ast_function.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index e31f79926de..e9e8d250014 100644
--- 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