aboutsummaryrefslogtreecommitdiff
path: root/src/preferences
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-05-10 10:49:31 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-05-10 10:49:31 +0200
commita9b9ed95f39cff40710e74ed81fdedee1cfad9e2 (patch)
treeacd01294ad1ae6f88b7515d6a6d8ac790f444f1d /src/preferences
parentff671f2171396088210600bab39ad9631e0d1daf (diff)
Remove all warnings from source code
Diffstat (limited to 'src/preferences')
-rw-r--r--src/preferences/BoardPrefs.hpp1
-rw-r--r--src/preferences/EditorPrefs.hpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/preferences/BoardPrefs.hpp b/src/preferences/BoardPrefs.hpp
index 6169d22..f801817 100644
--- a/src/preferences/BoardPrefs.hpp
+++ b/src/preferences/BoardPrefs.hpp
@@ -30,6 +30,7 @@ public:
Bind(wxEVT_SPINCTRL, &BoardPrefsPanel::OnConfChange, this, wxID_ANY);
}
void OnConfChange(wxCommandEvent &event) {
+ UNUSED(event);
ApplyPreferences();
real_board_canvas->ApplyPreferences();
}
diff --git a/src/preferences/EditorPrefs.hpp b/src/preferences/EditorPrefs.hpp
index d1c48d9..6958519 100644
--- a/src/preferences/EditorPrefs.hpp
+++ b/src/preferences/EditorPrefs.hpp
@@ -14,6 +14,7 @@ public:
// Bind(wxEVT_SPINCTRL, &BoardPrefsPanel::OnConfChange, this, wxID_ANY);
}
void OnConfChange(wxCommandEvent &event) {
+ UNUSED(event);
}
virtual bool TransferDataToWindow() {