empathy r1200 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1200 - trunk/libempathy
- Date: Sat,  5 Jul 2008 12:21:20 +0000 (UTC)
Author: xclaesse
Date: Sat Jul  5 12:21:20 2008
New Revision: 1200
URL: http://svn.gnome.org/viewvc/empathy?rev=1200&view=rev
Log:
Fix a gcc warning complaining about a var that could be used uninitialized
Modified:
   trunk/libempathy/empathy-tp-chat.c
Modified: trunk/libempathy/empathy-tp-chat.c
==============================================================================
--- trunk/libempathy/empathy-tp-chat.c	(original)
+++ trunk/libempathy/empathy-tp-chat.c	Sat Jul  5 12:21:20 2008
@@ -288,7 +288,7 @@
 	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
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]