about summary refs log tree commit diff
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
parentf926ebbf23f93a08283c2dd5c8de44ef969d945f (diff)
downloadzsh-bd915064c3d67f0c069adc2d079a70126e325fac.tar.gz
zsh-bd915064c3d67f0c069adc2d079a70126e325fac.tar.xz
zsh-bd915064c3d67f0c069adc2d079a70126e325fac.zip
25610: remove dead code.
-rw-r--r--ChangeLog2
-rw-r--r--Src/hist.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b18b9a1ed..071139f7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2008-09-04  Clint Adams  <clint@zsh.org>
 
+	* 25610: Src/hist.c: remove dead code.
+
 	* 25609: Src/Modules/zftp.c: initialize sz variable.
 
 2008-09-03  Peter Stephenson  <pws@csr.com>
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;