[Libreoffice-commits] core.git: vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Sep 9 15:36:41 UTC 2018


 vcl/unx/gtk3/gtk3gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b829325fb407250849d9508ed32176b08006dd0a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Sep 9 14:09:37 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Sep 9 17:36:20 2018 +0200

    silence bogus -Wmaybe-uninitialized
    
    Change-Id: I702b4818f05a606da30a643e13bfcd2c98ba412a
    Reviewed-on: https://gerrit.libreoffice.org/60215
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 34d7d75ca954..e0cee55f78a4 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -1801,7 +1801,7 @@ public:
     }
     virtual void set_mode(VclSizeGroupMode eVclMode) override
     {
-        GtkSizeGroupMode eGtkMode;
+        GtkSizeGroupMode eGtkMode(GTK_SIZE_GROUP_NONE);
         switch (eVclMode)
         {
             case VclSizeGroupMode::NONE:


More information about the Libreoffice-commits mailing list