[X2Go-Commits] [libx2goclient] 01/04: src/x2goclient-network.c: fix compile warnings.
git-admin at x2go.org
git-admin at x2go.org
Mon Jan 13 23:58:50 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository libx2goclient.
commit 1e8775f8323ea23fb8d6b8ddb0665b5550374ebd
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Nov 11 16:39:26 2019 +0100
src/x2goclient-network.c: fix compile warnings.
Split out pointer initialization.
---
src/x2goclient-network.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/x2goclient-network.c b/src/x2goclient-network.c
index 801a0d4..20662fa 100644
--- a/src/x2goclient-network.c
+++ b/src/x2goclient-network.c
@@ -122,7 +122,9 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass *klass) {
static void x2goclient_network_init (X2GoClientNetwork *self) {
X2GoClientNetworkPrivate *priv = x2goclient_network_get_instance_private (self);
- priv->socket = priv->options = priv->session_path = NULL;
+ priv->socket = NULL;
+ priv->options = NULL;
+ priv->session_path = NULL;
}
static void x2goclient_network_dispose (GObject *object) {
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git
More information about the x2go-commits
mailing list