aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/Win32TouchHandler.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-04 16:18:46 +0100
committerPierre Ossman <ossman@cendio.se>2023-01-04 19:17:28 +0100
commit3a1c46ff751a96dfdc721190a93be3954929725e (patch)
treeb4b60c322545aaee22506f1071048ad5a604b123 /vncviewer/Win32TouchHandler.cxx
parent225e1516f9cc5d2318e9a9cd7b84b69b0f150e43 (diff)
downloadtigervnc-3a1c46ff751a96dfdc721190a93be3954929725e.tar.gz
tigervnc-3a1c46ff751a96dfdc721190a93be3954929725e.zip
Explicitly mark unused parameters
This allows us to separate accidentally unused, from explicitly unused parameters, which allows us to turn on such checks in the compiler.
Diffstat (limited to 'vncviewer/Win32TouchHandler.cxx')
-rw-r--r--vncviewer/Win32TouchHandler.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vncviewer/Win32TouchHandler.cxx b/vncviewer/Win32TouchHandler.cxx
index dccf10a8..d6dc7aa4 100644
--- a/vncviewer/Win32TouchHandler.cxx
+++ b/vncviewer/Win32TouchHandler.cxx
@@ -59,7 +59,8 @@ Win32TouchHandler::Win32TouchHandler(HWND hWnd) :
supportedTouches);
}
-bool Win32TouchHandler::processEvent(UINT Msg, WPARAM wParam, LPARAM lParam)
+bool Win32TouchHandler::processEvent(UINT Msg, WPARAM /*wParam*/,
+ LPARAM lParam)
{
GESTUREINFO gi;
@@ -386,7 +387,7 @@ void Win32TouchHandler::fakeButtonEvent(bool press, int button,
}
void Win32TouchHandler::fakeKeyEvent(bool press, int keysym,
- const GestureEvent origEvent)
+ const GestureEvent /*origEvent*/)
{
UINT Msg = press ? WM_KEYDOWN : WM_KEYUP;
WPARAM wParam;