mirror of https://github.com/bochs-emu/Bochs
- move divider (a bunch of equals signs) down to where it's used, so that
it's within the if !BX_WITH_WX. Otherwise you get warnings when it's not used.
This commit is contained in:
parent
03bb4c1c92
commit
c3e1511874
|
@ -1,5 +1,5 @@
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: logio.cc,v 1.28 2002-09-13 00:15:23 kevinlawton Exp $
|
// $Id: logio.cc,v 1.29 2002-09-15 11:02:22 bdenney Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||||
|
@ -30,8 +30,6 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "state_file.h"
|
#include "state_file.h"
|
||||||
|
|
||||||
static char *divider = "========================================================================";
|
|
||||||
|
|
||||||
// Just for the iofunctions
|
// Just for the iofunctions
|
||||||
|
|
||||||
#define LOG_THIS this->log->
|
#define LOG_THIS this->log->
|
||||||
|
@ -473,6 +471,7 @@ logfunctions::fatal (const char *prefix, const char *fmt, va_list ap)
|
||||||
{
|
{
|
||||||
bx_atexit();
|
bx_atexit();
|
||||||
#if !BX_WITH_WX
|
#if !BX_WITH_WX
|
||||||
|
static char *divider = "========================================================================";
|
||||||
fprintf (stderr, "%s\n", divider);
|
fprintf (stderr, "%s\n", divider);
|
||||||
fprintf (stderr, "Bochs is exiting with the following message:\n");
|
fprintf (stderr, "Bochs is exiting with the following message:\n");
|
||||||
fprintf (stderr, "%s ", prefix);
|
fprintf (stderr, "%s ", prefix);
|
||||||
|
|
Loading…
Reference in New Issue