OSDN Git Service

gallium/aux/util/u_blitter.c: Silence some warnings
authorGert Wollny <gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:09:34 +0000 (16:09 +0100)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Nov 2017 16:27:56 +0000 (09:27 -0700)
commitca7d5170eb7660e86dfddcc1fa2d359d12b78ef6
treecb403e9e1ef038785b4600a1104614832e274b29
parentc267750bb14f67126bd2a0caa9ec7bb3156d061e
gallium/aux/util/u_blitter.c: Silence some warnings

* Annotate three parameters that are not used in release mode.
* explicitely convert an int to unsigned in an ?: construct.

v2: move MAYBE_UNUSED decoration in front of parameter declaration

Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
src/gallium/auxiliary/util/u_blitter.c