Date: Fri, 4 Feb 2005 12:30:54 +0000 (UTC) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make compat.c str.c Message-ID: <200502041230.j14CUs9l021366@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502041230.j14CUs9l021366>