[PATCH 14/17] dix: fix compiler warnings ("foo" set but not used)

Daniel Stone daniel at fooishbar.org
Mon Aug 8 02:22:54 PDT 2011


On Mon, Aug 08, 2011 at 04:21:10PM +1000, Peter Hutterer wrote:
> devices.c: In function 'AttachDevice':
> devices.c:2409:18: warning: variable 'oldmaster' set but not used
> [-Wunused-but-set-variable]
> 
> events.c: In function 'ConfineToShape':
> events.c:683:15: warning: variable 'pSprite' set but not used
> [-Wunused-but-set-variable]
> 
> events.c: In function 'ProcGrabPointer':
> events.c:4759:15: warning: variable 'time' set but not used
> [-Wunused-but-set-variable]
> 
> getevents.c: In function 'GetMotionHistory':
> getevents.c:425:9: warning: variable 'dflt' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Daniel Stone <daniel at fooishbar.org>


More information about the xorg-devel mailing list