Mesa (master): glsl: Remove unused loc parameter from generate_call

Ian Romanick idr at kemper.freedesktop.org
Sat Jan 19 01:36:39 UTC 2013


Module: Mesa
Branch: master
Commit: bd85c75922c5f82159e11b3e19ff95d82c35a21f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd85c75922c5f82159e11b3e19ff95d82c35a21f

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 11 12:54:02 2012 -0800

glsl: Remove unused loc parameter from generate_call

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/glsl/ast_function.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index b56a3c7..dc7a58b 100644
--- a/src/glsl/ast_function.cpp
+++ b/src/glsl/ast_function.cpp
@@ -183,7 +183,7 @@ verify_parameter_modes(_mesa_glsl_parse_state *state,
  */
 static ir_rvalue *
 generate_call(exec_list *instructions, ir_function_signature *sig,
-	      YYLTYPE *loc, exec_list *actual_parameters,
+	      exec_list *actual_parameters,
 	      ir_call **call_ir,
 	      struct _mesa_glsl_parse_state *state)
 {
@@ -1501,7 +1501,7 @@ ast_function_expression::hir(exec_list *instructions,
 	 /* an error has already been emitted */
 	 value = ir_rvalue::error_value(ctx);
       } else {
-	 value = generate_call(instructions, sig, &loc, &actual_parameters,
+	 value = generate_call(instructions, sig, &actual_parameters,
 			       &call, state);
       }
 




More information about the mesa-commit mailing list