summary refs log tree commit diff
diff options
context:
space:
mode:
-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;