summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2006-09-26 18:20:51 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2006-09-26 18:20:51 +0000
commit9c04002ecf30e0d4054b3c55dafcf040980116fd (patch)
treeb4888e3b64b977047fedfdf60120bc43f3487fb4 /usr.bin/make
parent65d77f4204970b76f2166e2b009f3647f6bbd63f (diff)
It seems pointless to assign a variable the atoi() return value after
the strtol() error checking block for the strtol() assignment for the same variable. ok brad mglocker
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 0fd893e2a4a..9ebdd519013 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: main.c,v 1.68 2006/05/06 10:52:34 espie Exp $ */
+/* $OpenBSD: main.c,v 1.69 2006/09/26 18:20:50 mk Exp $ */
/* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */
/*
@@ -289,7 +289,6 @@ MainParseArgs(int argc, char **argv)
optarg);
usage();
}
- maxJobs = atoi(optarg);
maxLocal = maxJobs;
record_option(c, optarg);
break;