[Libreoffice-commits] online.git: loolwsd/test

Tor Lillqvist tml at collabora.com
Fri Apr 15 07:57:06 UTC 2016


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

New commits:
commit 5c41d4c5ed8a67ac1c4342afd08e36a28e40f39e
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Apr 15 10:53:06 2016 +0300

    -Werror=maybe-uninitialized

diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index 420824b..2d8ef10 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -996,7 +996,7 @@ HTTPWSTest::connectLOKit(Poco::Net::HTTPRequest& request,
                          Poco::Net::HTTPResponse& response)
 {
     int flags;
-    int received;
+    int received = 0;
     int retries = 3;
     bool ready = false;
     char buffer[READ_BUFFER_SIZE];


More information about the Libreoffice-commits mailing list