tnl: Silence unused parameter warnings in _tnl_split_inplace
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 10 Apr 2020 17:31:14 +0000 (10:31 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 13 Apr 2020 17:26:54 +0000 (10:26 -0700)
commitac13258a6eb468b4cc3995b423319b9b62f54d94
tree17d2e7b9daed2d2bfb3032d1dfa7bfc3e9e94717
parent7a004f7987d179bdfba12ab7e92b0bb9a55b9df4
tnl: Silence unused parameter warnings in _tnl_split_inplace

Unused since db0eb3a437f ("vbo: Fix up in-place splitting for non-contiguous/indexed primitives.") which landed in 2010.

src/mesa/tnl/t_split_inplace.c: In function ‘_tnl_split_inplace’:
src/mesa/tnl/t_split_inplace.c:270:27: warning: unused parameter ‘min_index’ [-Wunused-parameter]
  270 |                    GLuint min_index,
      |                    ~~~~~~~^~~~~~~~~
src/mesa/tnl/t_split_inplace.c:271:27: warning: unused parameter ‘max_index’ [-Wunused-parameter]
  271 |                    GLuint max_index,
      |                    ~~~~~~~^~~~~~~~~

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4512>
src/mesa/tnl/t_split.c
src/mesa/tnl/t_split.h
src/mesa/tnl/t_split_inplace.c