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

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


On Mon, Aug 08, 2011 at 04:21:11PM +1000, Peter Hutterer wrote:
> misprite.c: In function 'miSpriteSaveUnderCursor':
> misprite.c:940:12: warning: variable 'y' set but not used
> [-Wunused-but-set-variable]
> misprite.c:940:9: warning: variable 'x' set but not used
> [-Wunused-but-set-variable]
> 
> mivaltree.c: In function 'miComputeClips':
> mivaltree.c:226:10: warning: variable 'resized' 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