[empathy] geocode: fix uninitialized variable (-Werror=uninitialized)
- From: Alban Crequy <albanc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] geocode: fix uninitialized variable (-Werror=uninitialized)
- Date: Tue, 23 Aug 2011 13:02:38 +0000 (UTC)
commit d74b1775e5f237869bdc2177064ea82aa370ac42
Author: Alban Crequy <alban crequy collabora co uk>
Date: Tue Aug 23 13:58:21 2011 +0100
geocode: fix uninitialized variable (-Werror=uninitialized)
libempathy/empathy-contact.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 2058d40..c6225c1 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -1614,7 +1614,7 @@ geocode_cb (GObject *source,
EmpathyContactPriv *priv = GET_PRIV (contact);
GError *error = NULL;
GHashTable *new_location;
- GHashTable *resolved;
+ GHashTable *resolved = NULL;
gdouble latitude, longitude;
if (priv->location == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]