From 7b501b25281e6ea4ce24f9709a656513fa23b0d6 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 26 Nov 2024 19:33:48 -0800 Subject: [PATCH] Fix -Wswitch warning in Mouse --- Src/Mouse.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Src/Mouse.cpp b/Src/Mouse.cpp index c96d130b..61f71822 100644 --- a/Src/Mouse.cpp +++ b/Src/Mouse.cpp @@ -448,6 +448,9 @@ void Mouse::ProcessMessage(UINT message, WPARAM wParam, LPARAM lParam) case XBUTTON2: pImpl->mState.xButton2 = true; break; + + default: + break; } break; @@ -461,6 +464,9 @@ void Mouse::ProcessMessage(UINT message, WPARAM wParam, LPARAM lParam) case XBUTTON2: pImpl->mState.xButton2 = false; break; + + default: + break; } break;