]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reindex.c
CLI: make variable n_requested_db_uuid file scope.
[notmuch] / notmuch-reindex.c
index a7380a4bc197beb60f8140b9c37c5cc06ed8cf3e..b40edbb6df3253f30827b624a98f73fc5d7b2acf 100644 (file)
@@ -108,9 +108,7 @@ notmuch_reindex_command (notmuch_database_t *notmuch, int argc, char *argv[])
     if (opt_index < 0)
        return EXIT_FAILURE;
 
-    notmuch_process_shared_options (argv[0]);
-
-    notmuch_exit_if_unmatched_db_uuid (notmuch);
+    notmuch_process_shared_options (notmuch, argv[0]);
 
     status = notmuch_process_shared_indexing_options (notmuch);
     if (status != NOTMUCH_STATUS_SUCCESS) {