From bba3ac5a32811ce812685e91b3cdef2d908884a4 Mon Sep 17 00:00:00 2001 From: jilles Date: Wed, 14 Nov 2012 14:08:24 +0000 Subject: sh: Remove an unused variable. --- bin/sh/input.c | 1 - bin/sh/input.h | 1 - 2 files changed, 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; -- cgit v1.1