[Libreoffice-commits] online.git: kit/Kit.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 12 10:36:43 UTC 2018


 kit/Kit.cpp |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 290137c99b979979dec62259f1b0ca0fd0073941
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Sep 11 13:11:51 2018 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Sep 12 13:36:00 2018 +0300

    Bin unnecessary assert(loKit)
    
    We already explicitly check earlier, after attempting to create it,
    and log a fatal error and exit on failure.
    
    Change-Id: Ia3fde4026839a255d4d19932300e16a05f9a33d2

diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 1c7ec94ff..dc792b865 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -2346,7 +2346,6 @@ void lokit_main(const std::string& childRoot,
         else
             LOG_SYS("Failed to get RLIMIT_NOFILE.");
 
-        assert(loKit);
         LOG_INF("Process is ready.");
 
         static const std::string pid = std::to_string(Process::id());


More information about the Libreoffice-commits mailing list