diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 762ca8388a..5a37df63c1 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-11-10 17:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * source/vm/hvm.c + ! Fixed unused var warning when HB_NO_DEBUG was defined + and TRACE disabled. (Reported by Enrico Maria Giordano) + 2007-11-10 17:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * make_b32.bat * make_vc.bat diff --git a/harbour/source/vm/hvm.c b/harbour/source/vm/hvm.c index c37c92fa63..f0c08d660b 100644 --- a/harbour/source/vm/hvm.c +++ b/harbour/source/vm/hvm.c @@ -5216,7 +5216,9 @@ static void hb_vmModuleName( char * szModuleName ) /* PRG and function name info { HB_TRACE(HB_TR_DEBUG, ("hb_vmModuleName(%s)", szModuleName)); -#ifndef HB_NO_DEBUG +#ifdef HB_NO_DEBUG + HB_SYMBOL_UNUSED( szModuleName ); +#else if( s_pFunDbgEntry ) { s_bDebugging = FALSE;