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:
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user