X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch-new.c;h=1162e25a1273975c7a9c77473f5e6299e23fbc13;hb=c84ccb70f3ed2b2228346499b5110311039a0ecf;hp=8e2bf4a84babba4fe80e6b2ce72c2e4c8a6cefa1;hpb=4e209ca99ac8084a357c6fc8d7773f6207cfa16d;p=notmuch diff --git a/notmuch-new.c b/notmuch-new.c index 8e2bf4a8..1162e25a 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -81,7 +81,7 @@ static volatile sig_atomic_t interrupted; static void handle_sigint (unused (int sig)) { - static char msg[] = "Stopping... \n"; + static const char msg[] = "Stopping... \n"; /* This write is "opportunistic", so it's okay to ignore the * result. It is not required for correctness, and if it does @@ -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,