about summary refs log tree commit diff
path: root/Src/hist.c
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-09-04 22:27:59 +0000
committerClint Adams <clint@users.sourceforge.net>2008-09-04 22:27:59 +0000
commitbd915064c3d67f0c069adc2d079a70126e325fac (patch)
tree6b97421d703446bbde63fdb2739a0d0d53582187 /Src/hist.c
parentf926ebbf23f93a08283c2dd5c8de44ef969d945f (diff)
downloadzsh-bd915064c3d67f0c069adc2d079a70126e325fac.tar.gz
zsh-bd915064c3d67f0c069adc2d079a70126e325fac.tar.xz
zsh-bd915064c3d67f0c069adc2d079a70126e325fac.zip
25610: remove dead code.
Diffstat (limited to 'Src/hist.c')
-rw-r--r--Src/hist.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Src/hist.c b/Src/hist.c
index 85c0e9983..521baf613 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -1935,10 +1935,6 @@ hdynread2(int stop)
 
     ptr = buf;
     while ((c = ingetc()) != stop && c != '\n' && !lexstop) {
-	if (c == '\n') {
-	    inungetc(c);
-	    break;
-	}
 	if (c == '\\')
 	    c = ingetc();
 	*ptr++ = c;