removed unused variable

This commit is contained in:
fluxgen 2002-11-13 16:44:42 +00:00
parent a47b6927bb
commit 127ef423a0
2 changed files with 3 additions and 5 deletions

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: FbRun.cc,v 1.5 2002/11/13 16:43:52 fluxgen Exp $ // $Id: FbRun.cc,v 1.6 2002/11/13 16:44:42 fluxgen Exp $
#include "FbRun.hh" #include "FbRun.hh"
@ -42,8 +42,7 @@ m_display(BaseDisplay::getXDisplay()),
m_bevel(4), m_bevel(4),
m_gc(DefaultGC(m_display, DefaultScreen(m_display))), m_gc(DefaultGC(m_display, DefaultScreen(m_display))),
m_end(false), m_end(false),
m_current_history_item(0), m_current_history_item(0) {
m_drawstart_x(0) {
createWindow(x, y, width + m_bevel, m_font.height()); createWindow(x, y, width + m_bevel, m_font.height());
} }

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: FbRun.hh,v 1.4 2002/11/13 16:43:52 fluxgen Exp $ // $Id: FbRun.hh,v 1.5 2002/11/13 16:44:42 fluxgen Exp $
#ifndef FBRUN_HH #ifndef FBRUN_HH
#define FBRUN_HH #define FBRUN_HH
@ -82,7 +82,6 @@ private:
std::vector<std::string> m_history; ///< history list of commands std::vector<std::string> m_history; ///< history list of commands
size_t m_current_history_item; ///< holds current position in command history size_t m_current_history_item; ///< holds current position in command history
std::string m_history_file; ///< holds filename for command history file std::string m_history_file; ///< holds filename for command history file
int m_drawstart_x; ///< for scrolling if cursor is to far to the right
}; };
#endif // FBRUN_HH #endif // FBRUN_HH