diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-05-29 15:53:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-05-29 15:53:47 +0000 |
commit | f1252549b821fefcd252fbb69b7ab3d4180a377d (patch) | |
tree | 2d347bb6832e85f57364c69af88cbb30658fc15a /sbin/fsck/fsck.c | |
parent | f076c347236cbd2356ad6a4588b80a35f8ac4626 (diff) |
remove duplicate assignments; from Benjamin Baier
Diffstat (limited to 'sbin/fsck/fsck.c')
-rw-r--r-- | sbin/fsck/fsck.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/fsck/fsck.c b/sbin/fsck/fsck.c index 1600b49f6b8..2e12254bf89 100644 --- a/sbin/fsck/fsck.c +++ b/sbin/fsck/fsck.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fsck.c,v 1.35 2015/04/18 18:28:37 deraadt Exp $ */ +/* $OpenBSD: fsck.c,v 1.36 2015/05/29 15:53:46 deraadt Exp $ */ /* $NetBSD: fsck.c,v 1.7 1996/10/03 20:06:30 christos Exp $ */ /* @@ -452,9 +452,6 @@ mangle(char *opts, int *argcp, const char ***argvp, int *maxargcp) int argc = *argcp, maxargc = *maxargcp; const char **argv = *argvp; - argc = *argcp; - maxargc = *maxargcp; - for (s = opts; (p = strsep(&s, ",")) != NULL;) { /* always leave space for one more argument and the NULL */ if (argc >= maxargc - 3) { |