summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modes/thread_index/query_loader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/thread_index/query_loader.cc b/src/modes/thread_index/query_loader.cc
index 40f384b..39c2fb8 100644
--- a/src/modes/thread_index/query_loader.cc
+++ b/src/modes/thread_index/query_loader.cc
@@ -123,7 +123,7 @@ namespace Astroid {
if (!in_destructor) stats_ready.emit ();
/* set up query */
- notmuch_threads_t * threads;
+ notmuch_threads_t * threads = NULL;
notmuch_query_t * nmquery = notmuch_query_create (db.nm_db, query.c_str ());
for (ustring & t : db.excluded_tags) {