[empathy] Fix uninitialized use of a variable
- From: Sjoerd Simons <sjoerds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Fix uninitialized use of a variable
- Date: Sat, 4 Dec 2010 17:26:58 +0000 (UTC)
commit ceff90e7c349418ed74c3bc2346fdb9270d534c0
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sat Dec 4 17:23:43 2010 +0000
Fix uninitialized use of a variable
libempathy/empathy-chatroom-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c
index a4b95aa..10b74d2 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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]