aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Peek <mp@FreeBSD.org>2007-10-15 16:54:07 +0000
committerMark Peek <mp@FreeBSD.org>2007-10-15 16:54:07 +0000
commitea2138fc2560872bd72699526e6b1d1de51f682f (patch)
tree52cce6c15fc09a0f8cbe40da0b3759022faa90c0
parent27acd9c0f1bb62d97818f1e117c79d806b328572 (diff)
parent1dd6018d3b9b7095a4a97c68754bd872e0f22186 (diff)
downloadsrc-ea2138fc2560872bd72699526e6b1d1de51f682f.tar.gz
src-ea2138fc2560872bd72699526e6b1d1de51f682f.zip
This commit was generated by cvs2svn to compensate for changes in r172668,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=172669
-rw-r--r--contrib/tcsh/sh.lex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/tcsh/sh.lex.c b/contrib/tcsh/sh.lex.c
index 8eccb4d3e293..0cccf4716059 100644
--- a/contrib/tcsh/sh.lex.c
+++ b/contrib/tcsh/sh.lex.c
@@ -851,8 +851,7 @@ getsub(struct wordent *en)
return (en);
}
slhs.len = 0;
- if (lhsb.s != NULL && lhsb.len != 0)
- Strbuf_append(&slhs, lhsb.s);
+ Strbuf_append(&slhs, lhsb.s);
Strbuf_terminate(&slhs);
if (exclc)
en = dosub(sc, en, global);