From 10bf8345cf15c6030147a9edb7f6a093c8db8099 Mon Sep 17 00:00:00 2001 From: Colin Harrison Date: Mon, 12 Oct 2009 13:50:00 +0100 Subject: [PATCH] Xming: Warning fix in winDeviceCursorCleanup() return statement with an expression in a function whose return-type is void Signed-off-by: Jon TURNEY Reviewed-by: Jon TURNEY --- hw/xwin/wincursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xwin/wincursor.c b/hw/xwin/wincursor.c index 7f1935a5d..076d4756c 100644 --- a/hw/xwin/wincursor.c +++ b/hw/xwin/wincursor.c @@ -557,7 +557,7 @@ static void winDeviceCursorCleanup(DeviceIntPtr pDev, ScreenPtr pScr) { winScreenPriv(pScr); - return pScreenPriv->cursor.spriteFuncs->DeviceCursorCleanup(pDev, pScr); + pScreenPriv->cursor.spriteFuncs->DeviceCursorCleanup(pDev, pScr); } static miPointerSpriteFuncRec winSpriteFuncsRec = {