aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.c
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2012-11-14 22:42:38 -0400
committerGravatar David Bremner <bremner@debian.org>2012-11-15 18:19:38 -0400
commitfe13a55421da077ceee3fb0def1db1154d152717 (patch)
tree9db9233f29673096e3a546245657a283f99d38c3 /notmuch-restore.c
parent3ac76816c51b6d989470ba470ba868fa2eb93b23 (diff)
notmuch-restore: remove extra increment of optind
This is left over from when the file name was a positional parameter.
Diffstat (limited to 'notmuch-restore.c')
-rw-r--r--notmuch-restore.c1
1 files changed, 0 insertions, 1 deletions
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) {