]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
CLI: make variable n_requested_db_uuid file scope.
[notmuch] / notmuch-reply.c
index ebb621e08670e6e799416b5ddf74aa932e40144a..13e38c209740208cf7fdffa4b11eab146410473e 100644 (file)
@@ -746,7 +746,7 @@ notmuch_reply_command (notmuch_database_t *notmuch, int argc, char *argv[])
     if (opt_index < 0)
        return EXIT_FAILURE;
 
-    notmuch_process_shared_options (argv[0]);
+    notmuch_process_shared_options (notmuch, argv[0]);
 
     notmuch_exit_if_unsupported_format ();
 
@@ -761,8 +761,6 @@ notmuch_reply_command (notmuch_database_t *notmuch, int argc, char *argv[])
        return EXIT_FAILURE;
     }
 
-    notmuch_exit_if_unmatched_db_uuid (notmuch);
-
     query = notmuch_query_create (notmuch, query_string);
     if (query == NULL) {
        fprintf (stderr, "Out of memory\n");