diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 7fd1581ce4..0f8b364717 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ + * source/vm/itemapi.c + ! Bug fixed, which was introduced while last commit + +2006-09-11 16:40 UTC+0300 Alexander Kresin * include/hbapicdp.h * Changed declaration of hb_cdpcmp() function * source/rtl/cdpapi.c diff --git a/harbour/source/vm/classes.c b/harbour/source/vm/classes.c index 791409eac9..a0bd89d76f 100644 --- a/harbour/source/vm/classes.c +++ b/harbour/source/vm/classes.c @@ -2258,8 +2258,6 @@ HB_FUNC( __CLSINSTSUPER ) if( pDynSym ) /* Find function */ { - USHORT uiClass = 0; - /* TODO: optimize this function */ hb_vmPushSymbol( pDynSym->pSymbol ); /* Push function name */ @@ -2270,6 +2268,7 @@ HB_FUNC( __CLSINSTSUPER ) { if( HB_IS_OBJECT( hb_stackReturnItem() ) ) { + USHORT uiClass; for( uiClass = 0; uiClass < s_uiClasses; uiClass++ ) { /* Locate the entry */ if( s_pClasses[ uiClass ].pClassSym == pDynSym )