cvs commit: src/usr.bin/make compat.c str.c
Hartmut Brandt
harti at FreeBSD.org
Fri Feb 4 12:30:55 GMT 2005
harti 2005-02-04 12:30:54 UTC
FreeBSD src repository
Modified files:
usr.bin/make compat.c str.c
Log:
Minor cleanup: make brk_string to return argc only if the pointer to it
was non-NULL. This let's us eliminated an otherwise unused variable.
shellneeded can never return -1 so there is no need to check for it and
hence no need for a variable to hold the returned value.
Submitted by: Max Okumoto <okumoto at ucsd.edu> (partly)
Revision Changes Path
1.47 +4 -14 src/usr.bin/make/compat.c
1.38 +2 -1 src/usr.bin/make/str.c
More information about the cvs-src
mailing list