diff options
author | harti <harti@FreeBSD.org> | 2005-02-07 16:33:57 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-07 16:33:57 +0000 |
commit | 3d0eb6600e7af2175c805360532fcb7881c84502 (patch) | |
tree | aed13ef82845a6342b864845decc76289b6edfbd /usr.bin | |
parent | 15f29409bafcde8687bea33781ffe84ebc47e35a (diff) | |
download | FreeBSD-src-3d0eb6600e7af2175c805360532fcb7881c84502.zip FreeBSD-src-3d0eb6600e7af2175c805360532fcb7881c84502.tar.gz |
Remove an unneeded check.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/var.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index e1b1b71..675e847 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -224,7 +224,7 @@ VarFind(const char *name, GNode *ctxt, int flags) * and substitute the short version in for 'name' if it matches one of * them. */ - if (*name == '.' && isupper((unsigned char)name[1])) + if (*name == '.') { switch (name[1]) { case 'A': if (!strcmp(name, ".ALLSRC")) @@ -252,7 +252,10 @@ VarFind(const char *name, GNode *ctxt, int flags) if (!strcmp(name, ".TARGET")) name = TARGET; break; + default: + break; } + } /* * Note whether this is one of the specific variables we were told through |