From 7c2d798b79041108ae71f86e7dbfdf9bf984dcb0 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 1 Dec 2005 12:52:25 +0100 Subject: jabber.c:542: warning: `gjc' might be used uninitialized in this function --- protocols/jabber/jabber.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c index 0379e2d3..16755d99 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -541,6 +541,9 @@ static void gjab_connected_ssl(gpointer data, void *source, GaimInputCondition c struct jabber_data *jd; gjconn gjc; + jd = gc->proto_data; + gjc = jd->gjc; + if (source == NULL) { STATE_EVT(JCONN_STATE_OFF) return; @@ -551,9 +554,6 @@ static void gjab_connected_ssl(gpointer data, void *source, GaimInputCondition c return; } - jd = gc->proto_data; - gjc = jd->gjc; - gjab_connected(data, gjc->fd, cond); } -- cgit v1.2.3