]> git.0d.be Git - empathy.git/commitdiff
Fix a gcc warning complaining about a var that could be used uninitialized
authorXavier Claessens <xclaesse@src.gnome.org>
Sat, 5 Jul 2008 12:21:20 +0000 (12:21 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sat, 5 Jul 2008 12:21:20 +0000 (12:21 +0000)
svn path=/trunk/; revision=1200

libempathy/empathy-tp-chat.c

index 5569ce25520616522408495f8fe78e0f15e703e7..7b09a8a5d00450e3688eb4eeca61426d27f80e1f 100644 (file)
@@ -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