[tracker] tracker-store: Avoid unused variable warning



commit 0c39d95d4e89741d39f46308dca9600a6550d0c3
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Jul 8 08:49:46 2010 +0200

    tracker-store: Avoid unused variable warning

 src/tracker-store/tracker-main.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-store/tracker-main.c b/src/tracker-store/tracker-main.c
index d18b99d..923e0c6 100644
--- a/src/tracker-store/tracker-main.c
+++ b/src/tracker-store/tracker-main.c
@@ -232,12 +232,13 @@ initialize_directories (void)
 static void
 shutdown_databases (void)
 {
+#if 0
 	TrackerMainPrivate *private;
 
 	private = g_static_private_get (&private_key);
 
 	/* TODO port backup support */
-#if 0
+
 	/* If we are reindexing, save the user metadata  */
 	if (private->reindex_on_shutdown) {
 		tracker_data_backup_save (private->ttl_backup_file, NULL);
@@ -434,7 +435,7 @@ main (gint argc, gchar *argv[])
 	}
 
 	notifier = tracker_dbus_register_notifier ();
-	busy_callback = tracker_status_get_callback (notifier, 
+	busy_callback = tracker_status_get_callback (notifier,
 	                                            &busy_user_data);
 
 	if (!tracker_data_manager_init (flags,



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