]> source.dussan.org Git - tigervnc.git/commitdiff
Use msgType variable when writing debug; eliminating warning about unused variable
authorPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 10:43:53 +0000 (10:43 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 10:43:53 +0000 (10:43 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3358 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/rfb_win32/LowLevelKeyEvents.cxx

index 322d1f40d5e0b54699b69a971f97356377cba09f..e80ebedcdb6a86ad97db5a4f41937817317d2296 100644 (file)
@@ -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;
         }