diff options
author | Ian Romanick <[email protected]> | 2011-08-29 14:56:29 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-09 12:01:50 -0700 |
commit | 9a3bd5e0452c9c791ba94155d3c9ddba42abd114 (patch) | |
tree | b4b8600b5df735d507f162714c8844a67207943b /src/glsl/ir_function_detect_recursion.cpp | |
parent | 681d432f8186cd97e04cf293add72fd73c50523d (diff) |
glsl: Silence several "warning: unused parameter"
Diffstat (limited to 'src/glsl/ir_function_detect_recursion.cpp')
-rw-r--r-- | src/glsl/ir_function_detect_recursion.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ir_function_detect_recursion.cpp b/src/glsl/ir_function_detect_recursion.cpp index 8f805bf1ba9..890bc455f44 100644 --- a/src/glsl/ir_function_detect_recursion.cpp +++ b/src/glsl/ir_function_detect_recursion.cpp @@ -289,6 +289,8 @@ emit_errors_unlinked(const void *key, void *data, void *closure) function *f = (function *) data; YYLTYPE loc; + (void) key; + char *proto = prototype_string(f->sig->return_type, f->sig->function_name(), &f->sig->parameters); @@ -308,6 +310,8 @@ emit_errors_linked(const void *key, void *data, void *closure) (struct gl_shader_program *) closure; function *f = (function *) data; + (void) key; + char *proto = prototype_string(f->sig->return_type, f->sig->function_name(), &f->sig->parameters); |