summaryrefslogtreecommitdiff
path: root/cmd-line-utils/readline/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-line-utils/readline/readline.c')
-rw-r--r--cmd-line-utils/readline/readline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-line-utils/readline/readline.c b/cmd-line-utils/readline/readline.c
index 3a0f533fcd6..d98d7880005 100644
--- a/cmd-line-utils/readline/readline.c
+++ b/cmd-line-utils/readline/readline.c
@@ -446,11 +446,10 @@ readline_internal_char ()
readline_internal_charloop ()
#endif
{
- static int lastc, eof_found;
+ static int lastc;
int c, code, lk;
lastc = -1;
- eof_found = 0;
#if !defined (READLINE_CALLBACKS)
while (rl_done == 0)