mesa: Silence unused parameter warnings
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 19 May 2016 01:26:34 +0000 (18:26 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 24 May 2016 18:04:08 +0000 (11:04 -0700)
commit7fc4a82007c3a967b6d0c177bfb1f93cff0398f5
tree12f24b7607c441eaa4a4fb9c14b8f5b0d4300fda
parent78399cf17031ea8fe401769bb92a60b0ac7001ea
mesa: Silence unused parameter warnings

Neither shProg nor name was used.  Remove them both.

main/shader_query.cpp:779:53: warning: unused parameter ‘shProg’ [-Wunused-parameter]
 program_resource_location(struct gl_shader_program *shProg,
                                                     ^
main/shader_query.cpp:780:72: warning: unused parameter ‘name’ [-Wunused-parameter]
                           struct gl_program_resource *res, const char *name,
                                                                        ^

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
src/mesa/main/shader_query.cpp