[empathy/gnome-2-34] Fix a couple of 'may be used uninitialized' warnings



commit b282a16c129b5fd965217146d149df85b69b094a
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Thu Mar 10 12:02:27 2011 +0000

    Fix a couple of 'may be used uninitialized' warnings

 libempathy-gtk/empathy-contact-list-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 7283f60..79eb5a3 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -386,8 +386,8 @@ contact_list_view_contact_drag_received (GtkWidget         *view,
 {
 	EmpathyContactListViewPriv *priv;
 	TpAccountManager           *account_manager;
-        TpConnection               *connection;
-	TpAccount                  *account;
+	TpConnection               *connection = NULL;
+	TpAccount                  *account = NULL;
 	DndGetContactData          *data;
 	GtkTreePath                *source_path;
 	const gchar   *sel_data;



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