glsl: Silence many unused parameter warnings
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 21 Jun 2014 00:27:19 +0000 (17:27 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 23 Jun 2014 18:24:25 +0000 (11:24 -0700)
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 <ian.d.romanick@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/glsl/glsl_parser_extras.h

index 01b32d7d69c695046737f1e8d6c5883ee262e784..aa4a114e4142e52b114782434335ded9650fd1fc 100644 (file)
@@ -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) {