From cd1e6726476820a260224bc3d7705212b57aa57b Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 5 Jul 2008 12:21:20 +0000 Subject: Fix a gcc warning complaining about a var that could be used uninitialized svn path=/trunk/; revision=1200 --- libempathy/empathy-tp-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-tp-chat.c') diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 5569ce255..7b09a8a5d 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -288,7 +288,7 @@ tp_chat_sender_ready_notify_cb (EmpathyContact *contact, EmpathyTpChatPriv *priv = GET_PRIV (chat); EmpathyMessage *message; EmpathyContactReady ready; - EmpathyContact *sender; + EmpathyContact *sender = NULL; gboolean removed = FALSE; /* Emit all messages queued until we find a message with not -- cgit v1.2.3