[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Nov 6 08:09:55 UTC 2018
wsd/LOOLWSD.cpp | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 0fb89bc4d025b51a5f142e51e8cb9d471610595a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
AuthorDate: Tue Nov 6 09:08:50 2018 +0100
Commit: Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Tue Nov 6 09:09:35 2018 +0100
wsd: remove the last nested #ifndef
Found by the new readability-redundant-pp tool from dev-tools.git.
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index de83d4b8f..2c31e88c6 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -1330,12 +1330,10 @@ void LOOLWSD::handleOption(const std::string& optionName,
if (masterPort)
MasterPortNumber = std::stoi(masterPort);
-#ifndef MOBILEAPP
static const char* latencyMs = std::getenv("LOOL_DELAY_SOCKET_MS");
if (latencyMs)
SimulatedLatencyMs = std::stoi(latencyMs);
#endif
-#endif
#ifdef FUZZER
if (optionName == "dummy-lok")
More information about the Libreoffice-commits
mailing list