hw/xwin: Fix unused-but-set-variable warning in winIsFakeCtrl_L()
/jhbuild/checkout/xorg/xserver/hw/xwin/winkeybd.c:331:17: error: variable ‘lastMessage’ set but not used [-Werror=unused-but-set-variable] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
cdb74fe17d
commit
c97fbd39ad
|
@ -328,7 +328,6 @@ winIsFakeCtrl_L(UINT message, WPARAM wParam, LPARAM lParam)
|
|||
Bool fReturn;
|
||||
|
||||
static Bool lastWasControlL = FALSE;
|
||||
static UINT lastMessage;
|
||||
static LONG lastTime;
|
||||
|
||||
/*
|
||||
|
@ -352,7 +351,6 @@ winIsFakeCtrl_L(UINT message, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
if (!fReturn) {
|
||||
lastWasControlL = TRUE;
|
||||
lastMessage = message;
|
||||
lastTime = lTime;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue