[PATCH 16/17] Xi: silence compiler warnings (set but not used)

Daniel Stone daniel at fooishbar.org
Mon Aug 8 02:20:25 PDT 2011


On Mon, Aug 08, 2011 at 04:21:12PM +1000, Peter Hutterer wrote:
> exevents.c: In function 'ProcessOtherEvent':
> exevents.c:889:22: warning: variable 'v' set but not used
> [-Wunused-but-set-variable]
> exevents.c:888:17: warning: variable 'k' set but not used
> [-Wunused-but-set-variable]

You could pretty trivially get rid of 'b' too, it's only used in a
couple of places where you wouldn't introduce wrapping by expanding b.
Either way though:
Reviewed-by: Daniel Stone <daniel at fooishbar.org>


More information about the xorg-devel mailing list