From cd23817bf1884fee4457ab3381320b0c8fc33f48 Mon Sep 17 00:00:00 2001 From: Kai Blaschke Date: Wed, 28 Feb 2024 18:11:55 +0100 Subject: Fixed remaining compiler warnings Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed. --- source/client/StarClientApplication.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/client/StarClientApplication.cpp') 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); } -- cgit v1.2.3