[empathy] empathy_new_message_dialog_response: initialize contact



commit 4be40f870291191e95035cd08b8f0733c9af1828
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Oct 18 17:05:33 2011 +0200

    empathy_new_message_dialog_response: initialize contact

 libempathy-gtk/empathy-new-message-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-new-message-dialog.c b/libempathy-gtk/empathy-new-message-dialog.c
index 6cc5e38..d34e6f5 100644
--- a/libempathy-gtk/empathy-new-message-dialog.c
+++ b/libempathy-gtk/empathy-new-message-dialog.c
@@ -152,7 +152,7 @@ empathy_new_message_dialog_response (GtkDialog *dialog,
 {
   EmpathyNewMessageDialog *self = (EmpathyNewMessageDialog *) dialog;
   FolksIndividual *individual = NULL;
-  EmpathyContact *contact;
+  EmpathyContact *contact = NULL;
 
   if (response_id < EMP_NEW_MESSAGE_TEXT)
     goto out;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]