[tracker] libtracker: Remove unused variable



commit ca362d9f399b07fdf3768da9165fc3892079c811
Author: Jürg Billeter <j bitron ch>
Date:   Mon Jul 13 14:34:12 2009 +0200

    libtracker: Remove unused variable

 src/libtracker/tracker.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/libtracker/tracker.c b/src/libtracker/tracker.c
index e6ee166..a5068e2 100644
--- a/src/libtracker/tracker.c
+++ b/src/libtracker/tracker.c
@@ -134,7 +134,6 @@ tracker_connect (gboolean enable_warnings)
 	DBusGConnection *connection;
 	GError *error = NULL;
 	TrackerClient *client = NULL;
-	DBusGProxy *proxy;
 
 	g_type_init ();
 
@@ -148,13 +147,6 @@ tracker_connect (gboolean enable_warnings)
 		return NULL;
 	}
 
-	if (!proxy) {
-		if (enable_warnings) {
-			g_warning ("could not create proxy");
-		}
-		return NULL;
-	}
-
 	client = g_new0 (TrackerClient, 1);
 
 	client->proxy_statistics = 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]