projects
/
platform
/
upstream
/
xorg-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb74fe
)
hw/xwin: Fix unused-but-set-variable warning in winIsFakeCtrl_L()
author
Jon TURNEY
<jon.turney@dronecode.org.uk>
Wed, 3 Apr 2013 15:18:27 +0000
(16:18 +0100)
committer
Jon TURNEY
<jon.turney@dronecode.org.uk>
Thu, 2 May 2013 14:43:14 +0000
(15:43 +0100)
/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>
hw/xwin/winkeybd.c
patch
|
blob
|
history
diff --git
a/hw/xwin/winkeybd.c
b/hw/xwin/winkeybd.c
index
27c114c
..
e412f23
100644
(file)
--- a/
hw/xwin/winkeybd.c
+++ b/
hw/xwin/winkeybd.c
@@
-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 {