From: David Bremner Date: Thu, 15 Nov 2012 02:42:38 +0000 (-0400) Subject: notmuch-restore: remove extra increment of optind X-Git-Tag: 0.15_rc1~177 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=fe13a55421da077ceee3fb0def1db1154d152717 notmuch-restore: remove extra increment of optind This is left over from when the file name was a positional parameter. --- diff --git a/notmuch-restore.c b/notmuch-restore.c index 08d5adcb..09dd6918 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -141,7 +141,6 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[]) input_file_name, strerror (errno)); return 1; } - optind++; } if (opt_index < argc) {