]> git.0d.be Git - empathy.git/commitdiff
empathy_new_message_dialog_response: initialize contact
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 18 Oct 2011 15:05:33 +0000 (17:05 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 18 Oct 2011 15:05:33 +0000 (17:05 +0200)
libempathy-gtk/empathy-new-message-dialog.c

index 6cc5e3819e2032fcd8306a50faf9e7a010296a75..d34e6f5f0a211f9ad039c9dc981d682b49f43857 100644 (file)
@@ -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;