From ddcdbeab85d8c87016cf0e2a5a12724f226fde64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Wed, 10 Dec 2008 10:43:53 +0000 Subject: [PATCH] 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 --- win/rfb_win32/LowLevelKeyEvents.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5