aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-05 20:21:20 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-05 20:21:20 +0800
commitcd1e6726476820a260224bc3d7705212b57aa57b (patch)
treec6c4baffcaf6e5829de483d37068044c173ce16c /libempathy
parenta736776ca19a1e67a06203eb06b05b7a82d30e91 (diff)
downloadgsoc2013-empathy-cd1e6726476820a260224bc3d7705212b57aa57b.tar
gsoc2013-empathy-cd1e6726476820a260224bc3d7705212b57aa57b.tar.gz
gsoc2013-empathy-cd1e6726476820a260224bc3d7705212b57aa57b.tar.bz2
gsoc2013-empathy-cd1e6726476820a260224bc3d7705212b57aa57b.tar.lz
gsoc2013-empathy-cd1e6726476820a260224bc3d7705212b57aa57b.tar.xz
gsoc2013-empathy-cd1e6726476820a260224bc3d7705212b57aa57b.tar.zst
gsoc2013-empathy-cd1e6726476820a260224bc3d7705212b57aa57b.zip
Fix a gcc warning complaining about a var that could be used uninitialized
svn path=/trunk/; revision=1200
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-chat.c2
1 files changed, 1 insertions, 1 deletions
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