diff options
author | Ian Romanick <[email protected]> | 2014-06-20 17:27:19 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-06-23 11:24:25 -0700 |
commit | 3552aa7c1c1ff506574ae1392ffc775a329f5ab6 (patch) | |
tree | 99f1fddc58cdb43a2cd05323998d292892141763 /src/glsl/glsl_parser_extras.h | |
parent | f9ebb1ea771c2acfe51cd2c3f884b22e9b057252 (diff) |
glsl: Silence many unused parameter warnings
In file included from ../../src/glsl/builtin_functions.cpp:61:0:
../../src/glsl/glsl_parser_extras.h:154:9: warning: unused parameter 'var' [-Wunused-parameter]
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
-rw-r--r-- | src/glsl/glsl_parser_extras.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h index 01b32d7d69c..aa4a114e414 100644 --- a/src/glsl/glsl_parser_extras.h +++ b/src/glsl/glsl_parser_extras.h @@ -152,7 +152,7 @@ struct _mesa_glsl_parse_state { } bool check_explicit_uniform_location_allowed(YYLTYPE *locp, - const ir_variable *var) + const ir_variable *) { if (!this->has_explicit_attrib_location() || !this->ARB_explicit_uniform_location_enable) { |