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 <ian.d.romanick@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
Ian Romanick 2014-06-20 17:27:19 -07:00
parent f9ebb1ea77
commit 3552aa7c1c
1 changed files with 1 additions and 1 deletions

View 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) {