[tracker] libtracker-data: Fix build with FTS



commit a57e8a976b3ff737d497cf2540fe92f4c7ec9d8a
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]