From owner-cvs-src@FreeBSD.ORG Thu Feb 24 16:05:46 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 724A216A4CE; Thu, 24 Feb 2005 16:05:46 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44AC643D45; Thu, 24 Feb 2005 16:05:46 +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 j1OG5kgo064771; Thu, 24 Feb 2005 16:05:46 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1OG5kCv064770; Thu, 24 Feb 2005 16:05:46 GMT (envelope-from harti) Message-Id: <200502241605.j1OG5kCv064770@repoman.freebsd.org> From: Hartmut Brandt Date: Thu, 24 Feb 2005 16:05:46 +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 var.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 16:05:46 -0000 harti 2005-02-24 16:05:46 UTC FreeBSD src repository Modified files: usr.bin/make var.c Log: Var_Parse: Separate different error states by introducing an else block after a return. Move assignments to {freePtr, dynamic, start} closer to the return statements to clarify which variables are actually used for communication between the losely coupled blocks of the code. Clear up an if-expression to make common structures of the conditions clearer. Use strchr instead of switch statements to check for a character beeing a member of a set. Patches: 7-62.2, 7-62.3, 7-64, 7-65.1, 7-65.2 Submitted by: Max Okumoto Revision Changes Path 1.92 +54 -64 src/usr.bin/make/var.c