summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-09 14:09:37 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2019-09-17 16:14:33 +0200
commit330cf24731919c049db1ad18697306dc046de65a (patch)
tree4571e5cf2d16e149907d573324cbeb4667929d96
parent65c72516c9e3b915e123d6c715e86ef38ac46374 (diff)
silence bogus -Wmaybe-uninitialized
Change-Id: I702b4818f05a606da30a643e13bfcd2c98ba412a Reviewed-on: https://gerrit.libreoffice.org/60215 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit b829325fb407250849d9508ed32176b08006dd0a) Reviewed-on: https://gerrit.libreoffice.org/79039 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 4cb75e50f695..955705cdc72a 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -1813,7 +1813,7 @@ public:
}
virtual void set_mode(VclSizeGroupMode eVclMode) override
{
- GtkSizeGroupMode eGtkMode;
+ GtkSizeGroupMode eGtkMode(GTK_SIZE_GROUP_NONE);
switch (eVclMode)
{
case VclSizeGroupMode::NONE: