From aea918fd55e1b004403c4a1410b2f30805c45c11 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 29 May 2015 15:53:46 +0000 Subject: [PATCH] remove duplicate assignments; from Benjamin Baier --- sbin/fsck/fsck.c | 5 +---- 1 file changed, 1 insertion(+), 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) { -- 2.20.1