diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-12-18 21:58:09 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-12-18 21:58:09 +0000 |
commit | b638137ef821c77bfa7837b6f8fd27fde9dcbca7 (patch) | |
tree | 8e4120cef93fabc34e0d6b1588b1990ae121aef8 /usr.bin/make/main.c | |
parent | 1054102ac1e5da024bb0316738d7cef7f996d28b (diff) |
Nothing ever checks ReturnStatus on Lst_Insert, Lst_Append, Lst_AtFront,
Lst_AtEnd, Lst_Concat, Lst_Remove, Lst_Replace.
Don't bother returning one.
Diffstat (limited to 'usr.bin/make/main.c')
-rw-r--r-- | usr.bin/make/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 0f90e29a8b3..8a6a5a3307e 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.25 1999/12/18 21:53:32 espie Exp $ */ +/* $OpenBSD: main.c,v 1.26 1999/12/18 21:58:07 espie Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* @@ -49,7 +49,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.25 1999/12/18 21:53:32 espie Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.26 1999/12/18 21:58:07 espie Exp $"; #endif #endif /* not lint */ @@ -189,7 +189,7 @@ rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) { break; case 'V': printVars = TRUE; - (void)Lst_AtEnd(variables, (ClientData)optarg); + Lst_AtEnd(variables, (ClientData)optarg); Var_Append(MAKEFLAGS, "-V", VAR_GLOBAL); Var_Append(MAKEFLAGS, optarg, VAR_GLOBAL); break; @@ -280,7 +280,7 @@ rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) { Var_Append(MAKEFLAGS, "-e", VAR_GLOBAL); break; case 'f': - (void)Lst_AtEnd(makefiles, (ClientData)optarg); + Lst_AtEnd(makefiles, (ClientData)optarg); break; case 'i': ignoreErrors = TRUE; @@ -371,7 +371,7 @@ rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) { optind = 1; /* - */ goto rearg; } - (void)Lst_AtEnd(create, (ClientData)estrdup(*argv)); + Lst_AtEnd(create, (ClientData)estrdup(*argv)); } } |