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; diff --git a/Src/XboxDDSTextureLoader.cpp b/Src/XboxDDSTextureLoader.cpp index 95ceedfc..2cbdada9 100644 --- a/Src/XboxDDSTextureLoader.cpp +++ b/Src/XboxDDSTextureLoader.cpp @@ -381,6 +381,9 @@ namespace } } break; + + default: + return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED); } return hr; @@ -516,6 +519,9 @@ namespace return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED); } break; + + default: + return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED); } if (xboxext->dxgiFormat == DXGI_FORMAT_UNKNOWN)