loolwsd/LOOLWSD.cpp |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

New commits:
commit 7eaa2bfc876ec83d0e1584f75f404c73f7644172
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Tue Aug 9 09:14:28 2016 +0200

    loolwsd: fix -Werror,-Wparentheses-equality

diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 58c1b59..6d1affd 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -1761,15 +1761,14 @@ int LOOLWSD::main(const std::vector<std::string>& 
/*args*/)
         {
             if (forKitPid == pid)
             {
-                if (WIFEXITED(status))
+                if (WIFEXITED(status) == true)
                 {
                     Log::info() << "Child process [" << pid << "] exited with 
code: "
                                 << WEXITSTATUS(status) << "." << Log::end;
 
                     break;
                 }
-                else
-                if (WIFSIGNALED(status))
+                else if (WIFSIGNALED(status) == true)
                 {
                     std::string fate = "died";
                     if (WCOREDUMP(status))
@@ -1780,13 +1779,13 @@ int LOOLWSD::main(const std::vector<std::string>& 
/*args*/)
 
                     break;
                 }
-                else if (WIFSTOPPED(status))
+                else if (WIFSTOPPED(status) == true)
                 {
                     Log::info() << "Child process [" << pid << "] stopped with 
"
                                 << Util::signalName(WSTOPSIG(status))
                                 << Log::end;
                 }
-                else if (WIFCONTINUED(status))
+                else if (WIFCONTINUED(status) == true)
                 {
                     Log::info() << "Child process [" << pid << "] resumed with 
SIGCONT."
                                 << Log::end;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to