]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-search.c
lib: Fix notmuch_query_search_threads to return NULL on any Xapian exception.
[notmuch] / notmuch-search.c
index 25c9cfccc3323634824f1749d3f420b296c368cc..8a1cdca3f1dcce5feea71a580c250e4bfabe9084 100644 (file)
@@ -104,8 +104,6 @@ format_thread_json (const void *ctx,
                    const char *authors,
                    const char *subject)
 {
-    struct tm *tm;
-    char timestamp[40];
     void *ctx_quote = talloc_new (ctx);
 
     printf ("\"thread\": %s,\n"