[empathy: 1/2] Init contact_id to NULL to silent some stupid compilators. It can't really be used not initialized a



commit ea226b276392e05c8da9273d5e0dd3793362bf27
Author: Xavier Claessens <xclaesse gmail com>
Date:   Wed Sep 23 15:29:15 2009 +0200

    Init contact_id to NULL to silent some stupid compilators. It can't really be used not initialized anyway.

 libempathy-gtk/empathy-contact-list-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 184f88a..737747f 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -253,7 +253,7 @@ contact_list_view_drag_data_received (GtkWidget         *view,
 	const gchar                *id;
 	gchar                     **strv = NULL;
 	const gchar                *account_id = NULL;
-	const gchar                *contact_id;
+	const gchar                *contact_id = NULL;
 	gchar                      *new_group = NULL;
 	gchar                      *old_group = NULL;
 	DndGetContactData          *data;



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