summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2012-11-14 14:08:24 +0000
committerjilles <jilles@FreeBSD.org>2012-11-14 14:08:24 +0000
commitbba3ac5a32811ce812685e91b3cdef2d908884a4 (patch)
treec417aa83147ca16e06edfc46b8338d3e88bbe41c /bin
parentf56ade0026fbd8c5164553c2f080c7688457d58e (diff)
downloadFreeBSD-src-bba3ac5a32811ce812685e91b3cdef2d908884a4.zip
FreeBSD-src-bba3ac5a32811ce812685e91b3cdef2d908884a4.tar.gz
sh: Remove an unused variable.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/input.c1
-rw-r--r--bin/sh/input.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c
index b1f0475..2005a87 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -99,7 +99,6 @@ char *parsenextc; /* copy of parsefile->nextc */
MKINIT struct parsefile basepf; /* top level input file */
char basebuf[BUFSIZ + 1]; /* buffer for top level input file */
static struct parsefile *parsefile = &basepf; /* current input file */
-int init_editline = 0; /* editline library initialized? */
int whichprompt; /* 1 == PS1, 2 == PS2 */
EditLine *el; /* cookie for editline package */
diff --git a/bin/sh/input.h b/bin/sh/input.h
index 38be609..c8802f9 100644
--- a/bin/sh/input.h
+++ b/bin/sh/input.h
@@ -43,7 +43,6 @@
extern int plinno;
extern int parsenleft; /* number of characters left in input buffer */
extern char *parsenextc; /* next character in input buffer */
-extern int init_editline; /* 0 == not setup, 1 == OK, -1 == failed */
struct alias;
struct parsefile;
OpenPOWER on IntegriCloud