Date: Thu, 24 Feb 2005 16:05:46 +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 var.c Message-ID: <200502241605.j1OG5kCv064770@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <okumoto@ucsd.edu> Revision Changes Path 1.92 +54 -64 src/usr.bin/make/var.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502241605.j1OG5kCv064770>