2009-01-08 20:55 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)

* harbour/contrib/xhb/cstruct.prg
    * fixed assigned but unused variable
This commit is contained in:
Francesco Saverio Giudice
2009-01-08 19:56:37 +00:00
parent ff670e6c36
commit 358ff82162
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-01-08 20:55 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/xhb/cstruct.prg
* fixed assigned but unused variable
2009-01-08 13:12 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/compiler/hbopt.c
* improved 'variable assigned but unused' detection logic

View File

@@ -448,7 +448,7 @@ Function HB_CTypeArrayID( CType, nLen )
__clsAddMsg( hClass, "SizeOf" , Counter++, HB_OO_MSG_PROPERTY, HB_SizeOfCStructure( aCTypes, 1 ), HB_OO_CLSTP_READONLY )
__clsAddMsg( hClass, "_nID", Counter++, HB_OO_MSG_PROPERTY, nID )
// WARNING InternalBuffer *MUST* remain the *LAST* Property!!!
__clsAddMsg( hClass, "InternalBuffer", Counter++, HB_OO_MSG_PROPERTY, , HB_OO_CLSTP_READONLY )
__clsAddMsg( hClass, "InternalBuffer", Counter, HB_OO_MSG_PROPERTY, , HB_OO_CLSTP_READONLY )
//TraceLog( "Registered: " + cArrayClassName, nID, Len( s_aArrayClasses ), HB_SizeOfCStructure( aCTypes, 1 ), nLen )
ELSE
nID := s_aArrayClasses[nID][3]