aboutsummaryrefslogtreecommitdiff
path: root/notmuch-new.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-02-27 10:07:45 -0400
committerDavid Bremner <david@tethera.net>2021-04-06 21:32:36 -0300
commit1c747a501c0ed7df5eaa2b994b9ad11d8981c62c (patch)
tree2733f1196cab13dfe4b46eb577bb408f0646b9a0 /notmuch-new.c
parentec4b7efbe4bd6d50bd6046bac5f7ef4ceaa30154 (diff)
CLI: drop notmuch_config_t from subcommand interface.
At this point it is unused in all subcommands.
Diffstat (limited to 'notmuch-new.c')
-rw-r--r--notmuch-new.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/notmuch-new.c b/notmuch-new.c
index 8e2bf4a8..993359d6 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -1104,8 +1104,7 @@ _maybe_upgrade (notmuch_database_t *notmuch, add_files_state_t *state)
}
int
-notmuch_new_command (unused(notmuch_config_t *config), notmuch_database_t *notmuch,
- int argc, char *argv[])
+notmuch_new_command (notmuch_database_t *notmuch, int argc, char *argv[])
{
add_files_state_t add_files_state = {
.verbosity = VERBOSITY_NORMAL,