mesa: Silence unused parameter warnings in bufferobj.c
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 26 Aug 2015 12:50:04 +0000 (13:50 +0100)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Sep 2015 23:24:17 +0000 (16:24 -0700)
commit882aab00abb226c103b8c6fe514247334b4d2d04
tree8b089650edb769f50f66addb9bf487b4ea4a6cc1
parent8ba3b7661b4985194a01f565d2ae27db153bb12c
mesa: Silence unused parameter warnings in bufferobj.c

main/bufferobj.c: In function 'count_buffer_size':
main/bufferobj.c:520:26: warning: unused parameter 'key' [-Wunused-parameter]
 count_buffer_size(GLuint key, void *data, void *userData)
                          ^
main/bufferobj.c: In function 'flush_mapped_buffer_range_fallback':
main/bufferobj.c:740:56: warning: unused parameter 'index' [-Wunused-parameter]
                                    gl_map_buffer_index index)
                                                        ^

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/bufferobj.c