summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/connectiondialog.cpp2
-rw-r--r--src/gui/windows/connectiondialog.h2
-rw-r--r--src/gui/windows/serverdialog.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp
index 1afa4774d..1be79f6db 100644
--- a/src/gui/windows/connectiondialog.cpp
+++ b/src/gui/windows/connectiondialog.cpp
@@ -67,7 +67,7 @@ void ConnectionDialog::postInit()
setVisible(Visible_true);
}
-void ConnectionDialog::action(const ActionEvent &)
+void ConnectionDialog::action(const ActionEvent &action A_UNUSED)
{
logger->log1("Cancel pressed");
client->setState(mCancelState);
diff --git a/src/gui/windows/connectiondialog.h b/src/gui/windows/connectiondialog.h
index 108ee0729..312ec5c8a 100644
--- a/src/gui/windows/connectiondialog.h
+++ b/src/gui/windows/connectiondialog.h
@@ -56,7 +56,7 @@ class ConnectionDialog final : public Window,
* Called when the user presses Cancel. Restores the global state to
* the previous one.
*/
- void action(const ActionEvent &) override final;
+ void action(const ActionEvent &action) override final;
void draw(Graphics *const graphics) override final A_NONNULL(2);
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 51f937666..c447bfc12 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -359,7 +359,7 @@ void ServerDialog::keyPressed(KeyEvent &event)
mServersList->keyPressed(event);
}
-void ServerDialog::valueChanged(const SelectionEvent &)
+void ServerDialog::valueChanged(const SelectionEvent &event A_UNUSED)
{
const int index = mServersList->getSelected();
if (index == -1)