[X2Go-Commits] [x2goclient] 27/217: appdialog.cpp: initialize parent in default case. Another GCC compile warning fix.

git-admin at x2go.org git-admin at x2go.org
Sat Aug 27 19:24:18 CEST 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit a9d100dccd6741c7c515572722e398c509a275d7
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Mar 21 00:04:44 2015 +0100

    appdialog.cpp: initialize parent in default case. Another GCC compile warning fix.
---
 debian/changelog  |    2 ++
 src/appdialog.cpp |    1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index eff5175..453cc3e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -86,6 +86,8 @@ x2goclient (4.0.5.2-0x2go1) UNRELEASED; urgency=medium
       correctly terminate arguments vector.
     - {appdialog,configwidget,onmainwindow,unixhelper}.cpp: fix some compile
       warnings with GCC. Fix a few whitespace issues.
+    - appdialog.cpp: initialize parent in default case. Another GCC compile
+      warning fix.
   * debian/control:
     - Maintainer change in package: X2Go Developers <x2go-dev at lists.x2go.org>.
     - Uploaders: add myself. Also, force a rebuild due to the changed
diff --git a/src/appdialog.cpp b/src/appdialog.cpp
index 327ffdc..f41361c 100644
--- a/src/appdialog.cpp
+++ b/src/appdialog.cpp
@@ -153,6 +153,7 @@ void AppDialog::loadApps()
             parent=other;
             break;
         default:
+            parent = NULL;
             break;
         }
 

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list