summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-01 23:50:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-01 23:51:38 +0100
commite8c0b30ff2db91c60b26b90054c16b22dca28956 (patch)
tree3e94f2574016382b12cd03713378ae4d8cec01c0 /api
parent5ae2ca85c41757dd72bd8651cfddfada517b30e3 (diff)
fix some GCC warnings
Diffstat (limited to 'api')
-rw-r--r--api/plugin-api.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp
index 6a43b55d..4d8d90e9 100644
--- a/api/plugin-api.cpp
+++ b/api/plugin-api.cpp
@@ -21,7 +21,7 @@ void BaseDialog::done(int)
bool BaseDialog::embeddable() noexcept { return false; }
void BaseDialog::save() {}
void BaseDialog::reload() {}
-void BaseDialog::set_buttons_visible(bool x) {}
+void BaseDialog::set_buttons_visible(bool) {}
} // ns plugin_api::detail
@@ -36,13 +36,13 @@ IFilter::IFilter() = default;
IFilter::~IFilter() = default;
IFilterDialog::IFilterDialog() = default;
IFilterDialog::~IFilterDialog() = default;
-void IFilterDialog::register_filter(IFilter* filter) {}
+void IFilterDialog::register_filter(IFilter*) {}
void IFilterDialog::unregister_filter() {}
IProtocol::IProtocol() = default;
IProtocol::~IProtocol() = default;
IProtocolDialog::IProtocolDialog() = default;
IProtocolDialog::~IProtocolDialog() = default;
-void IProtocolDialog::register_protocol(IProtocol* protocol){}
+void IProtocolDialog::register_protocol(IProtocol*){}
void IProtocolDialog::unregister_protocol() {}
ITracker::ITracker() = default;
ITracker::~ITracker() = default;