From c3e151187446434af4214169ada11fb91043d33d Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Sun, 15 Sep 2002 11:02:22 +0000 Subject: [PATCH] - 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. --- bochs/logio.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bochs/logio.cc b/bochs/logio.cc index b18a4db73..9639d98e6 100644 --- a/bochs/logio.cc +++ b/bochs/logio.cc @@ -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. @@ -30,8 +30,6 @@ #include #include "state_file.h" -static char *divider = "========================================================================"; - // Just for the iofunctions #define LOG_THIS this->log-> @@ -473,6 +471,7 @@ logfunctions::fatal (const char *prefix, const char *fmt, va_list ap) { bx_atexit(); #if !BX_WITH_WX + static char *divider = "========================================================================"; fprintf (stderr, "%s\n", divider); fprintf (stderr, "Bochs is exiting with the following message:\n"); fprintf (stderr, "%s ", prefix);