diff options
Diffstat (limited to 'src/monitor-gui.cc')
| -rw-r--r-- | src/monitor-gui.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/monitor-gui.cc b/src/monitor-gui.cc index 450e96d..4abdd21 100644 --- a/src/monitor-gui.cc +++ b/src/monitor-gui.cc @@ -373,7 +373,7 @@ class MonitorGui : GuiMenu::Listener, GuiMain::Listener, Monitor::Delegate, private: class ConnectFormListener : public GuiFormApply::Listener { public: - void changed(GuiForm* UNUSED(form), std::string const& UNUSED(id)) override { + void changed(GuiForm*, std::string const&) override { } bool about_to_close(GuiForm* form) override { @@ -556,7 +556,7 @@ private: #if HAVE_SSL class GenerateFormListener : public GuiFormApply::Listener { public: - void changed(GuiForm* UNUSED(form), std::string const& UNUSED(id)) override { + void changed(GuiForm*, std::string const&) override { } bool about_to_close(GuiForm* form) override { @@ -1322,17 +1322,15 @@ private: return ~size; } #else // HAVE_PCAP - static bool is_pcap(std::string const& UNUSED(file)) { + static bool is_pcap(std::string const&) { return false; } - static bool load_pcap(std::string const& UNUSED(file), - PackageList* UNUSED(packages)) { + static bool load_pcap(std::string const&, PackageList*) { return false; } - static bool save_pcap(PackageList const* UNUSED(packages), - std::string const& UNUSED(file)) { + static bool save_pcap(PackageList const*, std::string const&) { return false; } #endif // HAVE_PCAP |
