[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Noel Grandin noel.grandin at collabora.co.uk
Tue Dec 27 10:44:39 UTC 2016


 wsd/LOOLWSD.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 08ce0ed2dab636d4a110c3f93efb329710e5cb74
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Dec 23 08:59:21 2016 +0200

    loplugin:simplifybool
    
    Change-Id: If2de633684eeef572b5fe0a2b675f221f513e3f7
    Reviewed-on: https://gerrit.libreoffice.org/32369
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 3bc007f..dc1549c 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -2108,12 +2108,12 @@ int LOOLWSD::main(const std::vector<std::string>& /*args*/)
                         break;
                     }
                 }
-                else if (WIFSTOPPED(status) == true)
+                else if (WIFSTOPPED(status))
                 {
                     LOG_INF("Child process [" << pid << "] stopped with " <<
                             SigUtil::signalName(WSTOPSIG(status)));
                 }
-                else if (WIFCONTINUED(status) == true)
+                else if (WIFCONTINUED(status))
                 {
                     LOG_INF("Child process [" << pid << "] resumed with SIGCONT.");
                 }


More information about the Libreoffice-commits mailing list