summaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 10:43:53 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 10:43:53 +0000
commitddcdbeab85d8c87016cf0e2a5a12724f226fde64 (patch)
treedd6aed699e5d077eca64679e2ec884986fda572d /win/rfb_win32
parent8da9130ff315dd71d64e20fd341297a07c325f8d (diff)
downloadtigervnc-ddcdbeab85d8c87016cf0e2a5a12724f226fde64.tar.gz
tigervnc-ddcdbeab85d8c87016cf0e2a5a12724f226fde64.zip
Use msgType variable when writing debug; eliminating warning about unused variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3358 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32')
-rw-r--r--win/rfb_win32/LowLevelKeyEvents.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/LowLevelKeyEvents.cxx b/win/rfb_win32/LowLevelKeyEvents.cxx
index 322d1f40..e80ebedc 100644
--- a/win/rfb_win32/LowLevelKeyEvents.cxx
+++ b/win/rfb_win32/LowLevelKeyEvents.cxx
@@ -63,7 +63,7 @@ LRESULT CALLBACK LowLevelKeyEventProc(int nCode,
UINT msgType = wParam;
KBDLLHOOKSTRUCT* msgInfo = (KBDLLHOOKSTRUCT*)lParam;
if (filterKeyEvent(msgInfo->vkCode)) {
- vlog.debug("filtered event %lx(%lu) %lu", msgInfo->vkCode, msgInfo->vkCode, wParam);
+ vlog.debug("filtered event %lx(%lu) %lu", msgInfo->vkCode, msgInfo->vkCode, msgType);
PostMessage(*i, wParam, msgInfo->vkCode, (msgInfo->scanCode & 0xff) << 16);
return 1;
}