summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-11-02 12:38:31 +0200
committerTor Lillqvist <tml@collabora.com>2018-11-02 12:39:11 +0200
commit4a24055a74308b13f1f9b23f33a309bc42e63b5f (patch)
treedb1389b17145e2d53f12c5c24e856ba7cc25a9c1
parentd381540db56ad99d4e79862ac6fdb6ccffbb815f (diff)
Bin one case of nested #ifndef MOBILEAPP
(Might be more. Is there some tool to automatically detect this?)
-rw-r--r--wsd/LOOLWSD.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 7af8b7311..de83d4b8f 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -1555,10 +1555,8 @@ bool LOOLWSD::createForKit()
if (UnitWSD::get().hasKitHooks())
args.push_back("--unitlib=" + UnitTestLibrary);
-#ifndef MOBILEAPP
if (DisplayVersion)
args.push_back("--version");
-#endif
if (NoCapsForKit)
args.push_back("--nocaps");
@@ -1612,7 +1610,7 @@ bool LOOLWSD::createForKit()
#endif
}
-#endif
+#endif // !MOBILEAPP
#ifdef FUZZER
std::mutex Connection::Mutex;