From fe13a55421da077ceee3fb0def1db1154d152717 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 14 Nov 2012 22:42:38 -0400 Subject: [PATCH] notmuch-restore: remove extra increment of optind This is left over from when the file name was a positional parameter. --- notmuch-restore.c | 1 - 1 file changed, 1 deletion(-) 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) { -- 2.43.0