aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-22 09:07:48 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-22 09:07:48 +0100
commitbd599b9aeabee36ac6fdb379ca09aec27cce13a4 (patch)
treef303f6cad7d76899d4ff1c9dbb77282eb5dbd5b4 /protocols
parent1aa74f559af18e06195f34b721d65d69c29fcc0f (diff)
Fix two compiler warnings.
Diffstat (limited to 'protocols')
-rw-r--r--protocols/jabber/si.c2
-rw-r--r--protocols/twitter/twitter_lib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/jabber/si.c b/protocols/jabber/si.c
index cd937c4a..4b0e57c4 100644
--- a/protocols/jabber/si.c
+++ b/protocols/jabber/si.c
@@ -376,7 +376,7 @@ void jabber_si_answer_request( file_transfer_t *ft ) {
static xt_status jabber_si_handle_response(struct im_connection *ic, struct xt_node *node, struct xt_node *orig )
{
struct xt_node *c, *d;
- char *ini_jid, *tgt_jid, *iq_id, *cmp;
+ char *ini_jid = NULL, *tgt_jid, *iq_id, *cmp;
GSList *tflist;
struct jabber_transfer *tf=NULL;
struct jabber_data *jd = ic->proto_data;
diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c
index 22d2a3bd..f86e1f15 100644
--- a/protocols/twitter/twitter_lib.c
+++ b/protocols/twitter/twitter_lib.c
@@ -372,7 +372,7 @@ static xt_status twitter_xt_get_user_list( struct xt_node *node, struct twitter_
*/
static xt_status twitter_xt_get_status( struct xt_node *node, struct twitter_xml_status *txs )
{
- struct xt_node *child, *rt;
+ struct xt_node *child, *rt = NULL;
gboolean truncated = FALSE;
// Walk over the nodes children.