diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/hist.c | 4 |
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; |