2025-01-24 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbwin/olecore.c
* pacified false MSVC warning. It's very seldom situation that I'm adding
code to pacify false compiler warnings anyhow in this case it cost in
practice nothing so I decided to do that.
* contrib/xhb/hboutdbg.c
* src/rtl/gtcrs/gtcrs.c
* NULL pointer casting to pacify warning
* src/pp/hbpp.c
% do not created new iLen variable but reuse the one previously declared
* src/vm/classes.c
% allocate puiMsgIdx as array of HB_USHORT items instead of HB_SYMCNT.
This modification only reduces the memory usage and has no effect on
number of accepted symbols.
* changed 'HB_SYMCNT uiHashKey' to 'HB_SIZE nHashKey' to avoid explicit
casting in the code
This commit is contained in:
@@ -2230,6 +2230,8 @@ HB_FUNC( WIN_OLEAUTO___ONERROR )
|
||||
if( ! pDisp )
|
||||
return;
|
||||
|
||||
dispid = ( DISPID ) 0; /* to pacify MSVC false warning */
|
||||
|
||||
iPCount = hb_pcount();
|
||||
|
||||
szMethod = hb_itemGetSymbol( hb_stackBaseItem() )->szName;
|
||||
|
||||
@@ -116,7 +116,7 @@ static void debugInit( void )
|
||||
if( iFifoResult != EEXIST )
|
||||
{
|
||||
s_iXtermPid = execlp( "xterm", "xterm", "-T", szDebugTitle, "-e",
|
||||
"cat", szDebugName, NULL );
|
||||
"cat", szDebugName, ( char * ) NULL );
|
||||
|
||||
if( s_iXtermPid <= 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user