glsl: Silence "unused parameter" warnings in ast_type.cpp
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 12 Dec 2016 21:35:37 +0000 (13:35 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2016 23:55:44 +0000 (15:55 -0800)
commit8bfe397974b26ab16ca835dd83340b454e6f2f1f
tree0a461332116a77cc05a2e81fa669bf4389bf35da
parentd7aee96cc65514d2acbfaf9aa714e6e163ea0d2a
glsl: Silence "unused parameter" warnings in ast_type.cpp

glsl/ast_type.cpp: In function ‘bool validate_point_mode(YYLTYPE*, _mesa_glsl_parse_state*, const ast_type_qualifier&, const ast_type_qualifier&)’:
glsl/ast_type.cpp:173:30: warning: unused parameter ‘loc’ [-Wunused-parameter]
 validate_point_mode(YYLTYPE *loc,
                              ^~~
glsl/ast_type.cpp:174:45: warning: unused parameter ‘state’ [-Wunused-parameter]
                     _mesa_glsl_parse_state *state,
                                             ^~~~~

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ast_type.cpp