[Libreoffice-commits] online.git: test/UnitFuzz.cpp tools/Connect.cpp tools/Stress.cpp tools/Tool.cpp wsd/LOOLWSD.cpp wsd/LOOLWSD.hpp
Noel Grandin
noel.grandin at collabora.co.uk
Thu Dec 22 14:41:27 UTC 2016
test/UnitFuzz.cpp | 3 ---
tools/Connect.cpp | 4 ----
tools/Stress.cpp | 1 -
tools/Tool.cpp | 1 -
wsd/LOOLWSD.cpp | 5 -----
wsd/LOOLWSD.hpp | 1 -
6 files changed, 15 deletions(-)
New commits:
commit 80b0eaa773715f9e921ca3ce6338cca02ce02e82
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Thu Dec 22 16:16:31 2016 +0200
loplugin:unnecessaryoverride
Change-Id: Ib077de07e832ae30137f465596961731954d8e62
Reviewed-on: https://gerrit.libreoffice.org/32340
Reviewed-by: Tor Lillqvist <tml at collabora.com>
Tested-by: Tor Lillqvist <tml at collabora.com>
diff --git a/test/UnitFuzz.cpp b/test/UnitFuzz.cpp
index 64a34b2..422aa81 100644
--- a/test/UnitFuzz.cpp
+++ b/test/UnitFuzz.cpp
@@ -140,9 +140,6 @@ public:
std::cerr << "\n\nYour KIT process has fuzzing hooks\n\n\n";
setTimeout(3600 * 1000); /* one hour */
}
- ~UnitKitFuzz()
- {
- }
virtual bool filterKitMessage(const std::shared_ptr<LOOLWebSocket> & /* ws */,
std::string & /* message */) override
{
diff --git a/tools/Connect.cpp b/tools/Connect.cpp
index 6501d44..ab848bc 100644
--- a/tools/Connect.cpp
+++ b/tools/Connect.cpp
@@ -147,10 +147,6 @@ public:
{
}
- ~Connect()
- {
- }
-
protected:
int main(const std::vector<std::string>& args) override
{
diff --git a/tools/Stress.cpp b/tools/Stress.cpp
index e8e86fc..6bd768e 100644
--- a/tools/Stress.cpp
+++ b/tools/Stress.cpp
@@ -47,7 +47,6 @@ class Stress: public Poco::Util::Application
{
public:
Stress();
- ~Stress() {}
static bool Benchmark;
static size_t Iterations;
diff --git a/tools/Tool.cpp b/tools/Tool.cpp
index 437fe1d..dc54975 100644
--- a/tools/Tool.cpp
+++ b/tools/Tool.cpp
@@ -51,7 +51,6 @@ class Tool: public Poco::Util::Application
{
public:
Tool();
- ~Tool() {}
unsigned _numWorkers;
std::string _serverURI;
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 8dc40eb..9a9fa3a 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -1786,11 +1786,6 @@ void LOOLWSD::initializeSSL()
Poco::Net::SSLManager::instance().initializeClient(consoleClientHandler, invalidClientCertHandler, sslClientContext);
}
-void LOOLWSD::uninitialize()
-{
- ServerApplication::uninitialize();
-}
-
void LOOLWSD::dumpEventTrace(const std::string& pId, const std::string& sessionId, const std::string& data)
{
if (TraceDumper)
diff --git a/wsd/LOOLWSD.hpp b/wsd/LOOLWSD.hpp
index f1577d9..96edd96 100644
--- a/wsd/LOOLWSD.hpp
+++ b/wsd/LOOLWSD.hpp
@@ -74,7 +74,6 @@ public:
protected:
void initialize(Poco::Util::Application& self) override;
- void uninitialize() override;
void defineOptions(Poco::Util::OptionSet& options) override;
void handleOption(const std::string& name, const std::string& value) override;
int main(const std::vector<std::string>& args) override;
More information about the Libreoffice-commits
mailing list