[tracker] Fix compiler warning.



commit fc1b7e11a04661d532b5c5716067354a49ae82aa
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Mar 15 12:01:03 2010 +0100

    Fix compiler warning.
    
    Spotted by Philip Van Hoof.

 src/tracker-miner-fs/tracker-main.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/tracker-miner-fs/tracker-main.c b/src/tracker-miner-fs/tracker-main.c
index f8e323c..b11c32e 100644
--- a/src/tracker-miner-fs/tracker-main.c
+++ b/src/tracker-miner-fs/tracker-main.c
@@ -295,7 +295,6 @@ check_eligible (void)
 	GFile *file;
 	GFileInfo *info;
 	GError *error = NULL;
-	const gchar *format;
 	gchar *path;
 	guint log_handler_id;
 	gboolean exists = TRUE;
@@ -361,11 +360,11 @@ check_eligible (void)
 		print_monitor_check = TRUE;
 	}
 
-	format = exists ?
-		_("Data object '%s' currently exists") :
-		_("Data object '%s' currently does not exist");
+	g_print (exists ?
+	         _("Data object '%s' currently exists") :
+	         _("Data object '%s' currently does not exist"),
+	         path);
 
-	g_print (format, path);
 	g_print ("\n");
 
 	if (print_dir_check) {



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