From 22bec20ba98c8fd8342350d7e7f61930a7d082da Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 14 Nov 2012 14:08:24 +0000 Subject: [PATCH] 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 b1f0475fec41..2005a87db9cf 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 38be60959196..c8802f9783c2 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;