From ceff90e7c349418ed74c3bc2346fdb9270d534c0 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 4 Dec 2010 17:23:43 +0000 Subject: Fix uninitialized use of a variable --- libempathy/empathy-chatroom-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-chatroom-manager.c') diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c index a4b95aadf..10b74d22a 100644 --- a/libempathy/empathy-chatroom-manager.c +++ b/libempathy/empathy-chatroom-manager.c @@ -486,7 +486,7 @@ account_manager_ready_cb (GObject *source_object, EmpathyChatroomManagerPriv *priv = GET_PRIV (self); TpAccountManager *manager = TP_ACCOUNT_MANAGER (source_object); GError *error = NULL; - GFile *file; + GFile *file = NULL; if (!tp_account_manager_prepare_finish (manager, result, &error)) { -- cgit v1.2.3