[telepathy-gabble/master] Fix shadowed variable error from rebasing.

Mike Ruprecht mike.ruprecht at collabora.co.uk
Tue Dec 29 05:35:09 PST 2009


---
 src/call-stream-endpoint.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/call-stream-endpoint.c b/src/call-stream-endpoint.c
index 8f801e6..7f0bd97 100644
--- a/src/call-stream-endpoint.c
+++ b/src/call-stream-endpoint.c
@@ -455,11 +455,11 @@ call_stream_endpoint_set_selected_candidate (
   if (self->priv->selected_candidate != NULL &&
       self->priv->selected_candidate->n_values >= 4)
     {
-      GValue *value = g_value_array_get_nth (
-          self->priv->selected_candidate, 3);
-      GHashTable *info = g_value_get_boxed (value);
+      GHashTable *info;
       const gchar *username, *password;
 
+      value = g_value_array_get_nth (self->priv->selected_candidate, 3);
+      info = g_value_get_boxed (value);
       username = tp_asv_get_string (info, "Username");
       password = tp_asv_get_string (info, "Password");
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list