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

New commits:
commit 08ce0ed2dab636d4a110c3f93efb329710e5cb74
Author: Noel Grandin <[email protected]>
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 <[email protected]>
    Tested-by: Tor Lillqvist <[email protected]>

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.");
                 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to