aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/common/interp.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-01-04 18:38:23 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-01-04 18:38:23 +0000
commitf68d58133b2c7530e29aceaab341c764cce41a66 (patch)
tree24f4dece2c011bd290d9f60b3fa224fe384b1f4f /sys/boot/common/interp.c
parent717b58274a4252948e73ede9ea3bcbae9c923f91 (diff)
downloadsrc-f68d58133b2c7530e29aceaab341c764cce41a66.tar.gz
src-f68d58133b2c7530e29aceaab341c764cce41a66.zip
Clean some unused variables lint
Notes
Notes: svn path=/head/; revision=42289
Diffstat (limited to 'sys/boot/common/interp.c')
-rw-r--r--sys/boot/common/interp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/boot/common/interp.c b/sys/boot/common/interp.c
index 95f29676de56..00e4abee1b53 100644
--- a/sys/boot/common/interp.c
+++ b/sys/boot/common/interp.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: interp.c,v 1.8 1998/11/04 00:29:01 msmith Exp $
+ * $Id: interp.c,v 1.9 1998/12/22 11:41:51 abial Exp $
*/
/*
* Simple commandline interpreter, toplevel and misc.
@@ -54,7 +54,7 @@ static void prompt(void);
int
perform(int argc, char *argv[])
{
- int i, result;
+ int result;
struct bootblk_command **cmdp;
bootblk_cmd_t *cmd;
@@ -87,8 +87,10 @@ void
interact(void)
{
char input[256]; /* big enough? */
+#ifndef BOOT_FORTH
int argc;
char **argv;
+#endif
#ifdef BOOT_FORTH
bf_init();