svn commit: r243027 - head/bin/sh
Jilles Tjoelker
jilles at FreeBSD.org
Wed Nov 14 14:08:24 UTC 2012
Author: jilles
Date: Wed Nov 14 14:08:24 2012
New Revision: 243027
URL: http://svnweb.freebsd.org/changeset/base/243027
Log:
sh: Remove an unused variable.
Modified:
head/bin/sh/input.c
head/bin/sh/input.h
Modified: head/bin/sh/input.c
==============================================================================
--- head/bin/sh/input.c Wed Nov 14 12:11:23 2012 (r243026)
+++ head/bin/sh/input.c Wed Nov 14 14:08:24 2012 (r243027)
@@ -99,7 +99,6 @@ char *parsenextc; /* copy of parsefile-
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 */
Modified: head/bin/sh/input.h
==============================================================================
--- head/bin/sh/input.h Wed Nov 14 12:11:23 2012 (r243026)
+++ head/bin/sh/input.h Wed Nov 14 14:08:24 2012 (r243027)
@@ -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;
More information about the svn-src-all
mailing list