[tracker/tracker-0.10] libtracker-data: Fix compiler warning about unused variable



commit 49bdba21a2e852bd03cadeaa56140343293021e0
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Mar 22 16:44:48 2011 +0100

    libtracker-data: Fix compiler warning about unused variable

 src/libtracker-data/tracker-data-update.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index efd188f..df9322f 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2766,7 +2766,9 @@ tracker_data_update_statement_with_string (const gchar            *graph,
 	gboolean change, tried = FALSE;
 	gint graph_id = 0, pred_id = 0;
 	gboolean multiple_values;
+#if HAVE_TRACKER_FTS
 	GError *new_error = NULL;
+#endif /* HAVE_TRACKER_FTS */
 
 	g_return_if_fail (subject != NULL);
 	g_return_if_fail (predicate != NULL);



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