From: Peter Åstrand Date: Wed, 10 Dec 2008 10:43:53 +0000 (+0000) Subject: Use msgType variable when writing debug; eliminating warning about unused variable X-Git-Tag: v0.0.90~311 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ddcdbeab85d8c87016cf0e2a5a12724f226fde64;p=tigervnc.git 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 --- 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; }