From 9c04002ecf30e0d4054b3c55dafcf040980116fd Mon Sep 17 00:00:00 2001 From: Michael Knudsen Date: Tue, 26 Sep 2006 18:20:51 +0000 Subject: 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 --- usr.bin/make/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/make') 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; -- cgit v1.2.3