From owner-cvs-all@FreeBSD.ORG Fri Feb 4 12:30:54 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D028C16A4CE; Fri, 4 Feb 2005 12:30:54 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A533A43D2D; Fri, 4 Feb 2005 12:30:54 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j14CUsHe021367; Fri, 4 Feb 2005 12:30:54 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j14CUs9l021366; Fri, 4 Feb 2005 12:30:54 GMT (envelope-from harti) Message-Id: <200502041230.j14CUs9l021366@repoman.freebsd.org> From: Hartmut Brandt Date: Fri, 4 Feb 2005 12:30:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/make compat.c str.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 12:30:55 -0000 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 (partly) Revision Changes Path 1.47 +4 -14 src/usr.bin/make/compat.c 1.38 +2 -1 src/usr.bin/make/str.c