[tracker/tracker-0.10] libtracker-data: Fix build with FTS



commit e137cce00a8b2a00e4f8be4ac0ddb57bd9f9194a
Author: Jürg Billeter <j bitron ch>
Date:   Fri May 13 11:27:55 2011 +0200

    libtracker-data: Fix build with FTS

 src/libtracker-data/tracker-data-update.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index ae221ad..4aba5dc 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1034,6 +1034,12 @@ tracker_data_update_buffer_might_flush (GError **error)
 static void
 tracker_data_update_buffer_clear (void)
 {
+#if HAVE_TRACKER_FTS
+	TrackerDBInterface *iface;
+
+	iface = tracker_db_manager_get_db_interface ();
+#endif
+
 	g_hash_table_remove_all (update_buffer.resources);
 	g_hash_table_remove_all (update_buffer.resources_by_id);
 	g_hash_table_remove_all (update_buffer.resource_cache);



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