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/frontend/StarTeleportDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarTeleportDialog.cpp') diff --git a/source/frontend/StarTeleportDialog.cpp b/source/frontend/StarTeleportDialog.cpp index c1ca4b4..7b4030d 100644 --- a/source/frontend/StarTeleportDialog.cpp +++ b/source/frontend/StarTeleportDialog.cpp @@ -120,7 +120,7 @@ TeleportDialog::TeleportDialog(UniverseClientPtr client, fetchChild("btnTeleport")->setEnabled(destList->selectedItem() != NPos); } -void TeleportDialog::tick(float dt) { +void TeleportDialog::tick(float) { if (!m_client->worldClient()->playerCanReachEntity(m_sourceEntityId)) dismiss(); } -- cgit v1.2.3