[Telepathy-commits] [telepathy-gabble/master] Move declaration to deepest block

Pierre-Luc Beaudoin pierre-luc.beaudoin at collabora.co.uk
Sun Feb 1 05:23:59 PST 2009


---
 src/conn-location.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/conn-location.c b/src/conn-location.c
index d5a5521..9ecde10 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -121,7 +121,6 @@ location_get_locations (GabbleSvcConnectionInterfaceLocation *iface,
   guint i;
   GHashTable *return_locations = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL,
       (GDestroyNotify) g_hash_table_destroy);
-  GHashTable *location = NULL;
 
   DEBUG ("GetLocation for contacts:");
 
@@ -133,6 +132,7 @@ location_get_locations (GabbleSvcConnectionInterfaceLocation *iface,
     {
       guint contact = g_array_index (contacts, guint, i);
       const gchar *jid = inspect_contact (base, contact);
+      GHashTable *location = NULL;
 
       location = gabble_presence_cache_get_location (conn->presence_cache, contact);
       if (location != NULL)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list