Reviewed-by: Tapani Pälli <[email protected]>

On 06/21/2014 03:44 AM, Ian Romanick wrote:
From: Ian Romanick <[email protected]>

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]>
Cc: Tapani Pälli <[email protected]>
---
  src/glsl/glsl_parser_extras.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h
index a59090f..f76ba89 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) {

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to