[telepathy-gabble/master] remove unused variable

Dafydd Harries dafydd.harries at collabora.co.uk
Fri Aug 14 06:10:12 PDT 2009


---
 src/util.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/util.c b/src/util.c
index 78122dc..9db61de 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1037,7 +1037,6 @@ static gboolean
 idle_callback (gpointer data)
 {
   WeakIdleCtx *ctx = (WeakIdleCtx *) data;
-  gboolean ret;
 
   if (ctx->function ((gpointer) ctx->object))
     {
@@ -1049,8 +1048,6 @@ idle_callback (gpointer data)
           ctx->object, idle_weak_ref_notify, GUINT_TO_POINTER (ctx->source_id));
       return FALSE;
     }
-
-  return ret;
 }
 
 /* Like g_idle_add(), but cancel the callback if the provided object is
-- 
1.5.6.5




More information about the telepathy-commits mailing list