diff options
author | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-28 18:11:55 +0100 |
---|---|---|
committer | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-28 18:30:27 +0100 |
commit | cd23817bf1884fee4457ab3381320b0c8fc33f48 (patch) | |
tree | 9440ff3b0386ca9e3b1bac9eda168741ec6debb3 /source/client | |
parent | 28d486446ca176ef0168a7284d85cb49a75a54fb (diff) |
Fixed remaining compiler warnings
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/StarClientApplication.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/client/StarClientApplication.cpp b/source/client/StarClientApplication.cpp index d44bd6e..8967534 100644 --- a/source/client/StarClientApplication.cpp +++ b/source/client/StarClientApplication.cpp @@ -333,7 +333,6 @@ void ClientApplication::processInput(InputEvent const& event) { } m_input->handleInput(event, processed); - WorldCamera& camera = m_worldPainter->camera(); auto config = m_root->configuration(); int zoomOffset = 0; @@ -709,7 +708,7 @@ void ClientApplication::updateMods(float dt) { } } -void ClientApplication::updateModsWarning(float dt) { +void ClientApplication::updateModsWarning(float) { if (m_errorScreen->accepted()) changeState(MainAppState::Splash); } @@ -720,7 +719,7 @@ void ClientApplication::updateSplash(float dt) { changeState(MainAppState::Title); } -void ClientApplication::updateError(float dt) { +void ClientApplication::updateError(float) { if (m_errorScreen->accepted()) changeState(MainAppState::Title); } |