summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-04-22 08:58:59 +0900
committerIan Romanick <ian.d.romanick@intel.com>2015-05-04 13:49:04 -0700
commit8b103cf636759d2f0e8488220063133b6ca58f1f (patch)
treed14244bde1d4d8f678960c6fe45242d43fabd613 /src/mesa
parent778c7f149a0e29d135b05f27bb0a6837decdb533 (diff)
downloadexternal_mesa3d-8b103cf636759d2f0e8488220063133b6ca58f1f.zip
external_mesa3d-8b103cf636759d2f0e8488220063133b6ca58f1f.tar.gz
external_mesa3d-8b103cf636759d2f0e8488220063133b6ca58f1f.tar.bz2
glsl: Silence unused parameter warnings
I opted to comment out "last_field" because it was not obvious what the meaning of the dangling bool would be. For the other parameters, the meaning was more intuitive without the name. link_uniform_blocks.cpp:70:65: warning: unused parameter 'name' [-Wunused-parameter] virtual void enter_record(const glsl_type *type, const char *name, ^ link_uniform_blocks.cpp:77:65: warning: unused parameter 'name' [-Wunused-parameter] virtual void leave_record(const glsl_type *type, const char *name, ^ link_uniform_blocks.cpp:93:62: warning: unused parameter 'record_type' [-Wunused-parameter] bool row_major, const glsl_type *record_type, ^ link_uniform_blocks.cpp:94:34: warning: unused parameter 'last_field' [-Wunused-parameter] bool last_field) ^ link_uniforms.cpp:547:65: warning: unused parameter 'name' [-Wunused-parameter] virtual void enter_record(const glsl_type *type, const char *name, ^ link_uniforms.cpp:556:65: warning: unused parameter 'name' [-Wunused-parameter] virtual void leave_record(const glsl_type *type, const char *name, ^ link_uniforms.cpp:567:34: warning: unused parameter 'last_field' [-Wunused-parameter] bool last_field) ^ Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions