[tracker] libtracker-db: Set defaults for return values in manager_init()
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-db: Set defaults for return values in manager_init()
- Date: Mon, 2 Nov 2009 13:20:37 +0000 (UTC)
commit a1b9b3eb696e5e242d47f349ad078e1d8a33e972
Author: Martyn Russell <martyn lanedo com>
Date: Mon Nov 2 13:08:48 2009 +0000
libtracker-db: Set defaults for return values in manager_init()
src/libtracker-db/tracker-db-manager.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-manager.c b/src/libtracker-db/tracker-db-manager.c
index 1c3d712..d3f54d4 100644
--- a/src/libtracker-db/tracker-db-manager.c
+++ b/src/libtracker-db/tracker-db-manager.c
@@ -1092,10 +1092,15 @@ tracker_db_manager_init (TrackerDBManagerFlags flags,
gboolean need_reindex, did_copy = FALSE;
guint i;
+ /* First set defaults for return values */
if (first_time) {
*first_time = FALSE;
}
+ if (need_journal) {
+ *need_journal = FALSE;
+ }
+
if (initialized) {
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]