[tracker/checkpoint] libtracker-data: Fix uninitialized variable (squash)



commit d575adbabcc9db67d7e849d3ed85745e0411b639
Author: JÃrg Billeter <j bitron ch>
Date:   Thu Jun 23 17:01:20 2011 +0200

    libtracker-data: Fix uninitialized variable (squash)

 src/libtracker-data/tracker-db-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-manager.c b/src/libtracker-data/tracker-db-manager.c
index c8a8179..45f3a0b 100644
--- a/src/libtracker-data/tracker-db-manager.c
+++ b/src/libtracker-data/tracker-db-manager.c
@@ -1039,7 +1039,7 @@ tracker_db_manager_init (TrackerDBManagerFlags   flags,
 
 	} else if ((flags & TRACKER_DB_MANAGER_READONLY) == 0) {
 		/* do not do shutdown check for read-only mode (direct access) */
-		gboolean must_recreate;
+		gboolean must_recreate = FALSE;
 #ifndef DISABLE_JOURNAL
 		gchar *journal_filename;
 #endif /* DISABLE_JOURNAL */



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