[Libreoffice-commits] online.git: loolwsd/AdminModel.hpp

Miklos Vajna vmiklos at collabora.co.uk
Mon Mar 7 08:51:48 UTC 2016


 loolwsd/AdminModel.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0fc711c9a1ae8fe7b8f0492d47d18a9cd79fa007
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Mar 7 09:51:22 2016 +0100

    loolwsd: fix -Werror=maybe-uninitialized

diff --git a/loolwsd/AdminModel.hpp b/loolwsd/AdminModel.hpp
index c9abe0a..cb6561b 100644
--- a/loolwsd/AdminModel.hpp
+++ b/loolwsd/AdminModel.hpp
@@ -246,7 +246,7 @@ public:
         }
         pclose(fp);
 
-        unsigned nMem;
+        unsigned nMem = 0;
         try
         {
             nMem = std::stoi(sResponse);


More information about the Libreoffice-commits mailing list