aboutsummaryrefslogtreecommitdiff
path: root/notmuch-insert.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-insert.c
parentec4b7efbe4bd6d50bd6046bac5f7ef4ceaa30154 (diff)
CLI: drop notmuch_config_t from subcommand interface.
At this point it is unused in all subcommands.
Diffstat (limited to 'notmuch-insert.c')
-rw-r--r--notmuch-insert.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/notmuch-insert.c b/notmuch-insert.c
index 865b6b69..00c00468 100644
--- a/notmuch-insert.c
+++ b/notmuch-insert.c
@@ -444,8 +444,7 @@ add_file (notmuch_database_t *notmuch, const char *path, tag_op_list_t *tag_ops,
}
int
-notmuch_insert_command (unused(notmuch_config_t *config), notmuch_database_t *notmuch,
- int argc, char *argv[])
+notmuch_insert_command (notmuch_database_t *notmuch, int argc, char *argv[])
{
notmuch_status_t status, close_status;
struct sigaction action;