[Libreoffice-commits] online.git: loolwsd/LOOLBroker.cpp

Miklos Vajna vmiklos at collabora.co.uk
Mon Jan 25 04:09:02 PST 2016


 loolwsd/LOOLBroker.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d6d0741f08813eea53084c22f2ac2e6eadec998
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jan 25 13:08:33 2016 +0100

    loolwsd: -Werror,-Wtautological-constant-out-of-range-compare

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 77e8708..2bef170 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -390,7 +390,7 @@ public:
                 Log::debug("Search found child [" + std::to_string(aIterURL->second) +
                            "] to host URL [" + aURL +
                            "]. Creating view for thread [" + aTID + "].");
-                if (createThread(nPID, aTID, aURL) < 0)
+                if (createThread(nPID, aTID, aURL))
                 {
                     _cacheURL[aURL] = nPID;
                     return;


More information about the Libreoffice-commits mailing list