[tracker] libtracker-data: Make sure we return TRUE/FALSE on success or not for fts init
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Make sure we return TRUE/FALSE on success or not for fts init
- Date: Tue, 26 Feb 2013 11:37:48 +0000 (UTC)
commit 69bc64caa1732ae2e6a3f08652f67e0828d960e9
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Tue Feb 26 11:36:04 2013 +0000
libtracker-data: Make sure we return TRUE/FALSE on success or not for fts init
Fixes GB#693889, E: tracker no-return-in-nonvoid-function tracker-data-manager.c:361
src/libtracker-data/tracker-data-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index a4b1bc1..bcac0d8 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3604,8 +3604,10 @@ tracker_data_manager_init_fts (TrackerDBInterface *iface,
multivalued, create);
g_hash_table_unref (fts_props);
g_hash_table_unref (multivalued);
+ return TRUE;
#else
g_message ("FTS support is disabled");
+ return FALSE;
#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]