[Libreoffice-commits] online.git: Branch 'libreoffice-7-0' - kit/ChildSession.cpp

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 16 20:38:10 UTC 2020


 kit/ChildSession.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 293987d7a6ed7dd2adcb219b902f9d2e3479321c
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Jun 4 08:54:19 2020 +0200
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Jun 16 22:37:52 2020 +0200

    fix bogus -Werror=maybe-uninitialized
    
    Change-Id: Id8662bfdebe50ec87dd634f4564fab12c32ebdc1
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96443
    Tested-by: Michael Meeks <michael.meeks at collabora.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index ba8bdf8ee..3c153a225 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -1314,9 +1314,9 @@ bool ChildSession::gestureEvent(const char* /*buffer*/, int /*length*/,
     bool success = true;
 
     unsigned int windowID = 0;
-    int x;
-    int y;
-    int offset;
+    int x = 0;
+    int y = 0;
+    int offset = 0;
     std::string type;
 
     if (tokens.size() < 6)


More information about the Libreoffice-commits mailing list