Mesa (master): glsl: Remove unnecessary "unused variable" warning suppression.
Kenneth Graunke
kwg at kemper.freedesktop.org
Tue Nov 9 23:56:12 UTC 2010
Module: Mesa
Branch: master
Commit: afb6fb9a92afaecbb0f8e9e65380c842667a4bd4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=afb6fb9a92afaecbb0f8e9e65380c842667a4bd4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Nov 9 15:54:02 2010 -0800
glsl: Remove unnecessary "unused variable" warning suppression.
The "instructions" variable -is- used, so the cast to void can go away.
---
src/glsl/ast_function.cpp | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index e31f799..e9e8d25 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
More information about the mesa-commit
mailing list