From a3badef4e992bd52c6e3488de68ef21f762f2d61 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Thu, 24 Oct 2002 22:28:33 +0000 Subject: [PATCH] Clean up of the batch file class Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@406 --- src/shell/shell_batch.cpp | 1 - src/shell/shell_inc.h | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/shell/shell_batch.cpp b/src/shell/shell_batch.cpp index 48c571f7..fdec91ba 100644 --- a/src/shell/shell_batch.cpp +++ b/src/shell/shell_batch.cpp @@ -32,7 +32,6 @@ BatchFile::BatchFile(DOS_Shell * host,char * name, char * cmd_line) { //TODO Come up with something better E_Exit("SHELL:Can't open BatchFile"); } - line_count=0; }; BatchFile::~BatchFile() { diff --git a/src/shell/shell_inc.h b/src/shell/shell_inc.h index a5f59142..2396b013 100644 --- a/src/shell/shell_inc.h +++ b/src/shell/shell_inc.h @@ -40,10 +40,6 @@ public: bool ReadLine(char * line); bool Goto(char * where); Bit16u file_handle; - Bit32u line_count; - char * cmd_words[CMD_MAXCMDS]; - char cmd_buffer[128]; //Command line can only be 128 chars - Bit32u cmd_count; bool echo; DOS_Shell * shell; BatchFile * prev;