2013-02-01 15:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* harbour/src/rtl/run.c
    * restored dummy if() to pacify "unused result" warning - some compilers
      ignores classic method with ( void ) prefixing.
This commit is contained in:
Przemyslaw Czerpak
2013-02-01 14:43:27 +00:00
parent ba6990fe06
commit 1518d1bb84
2 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,11 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-02-01 15:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/run.c
* restored dummy if() to pacify "unused result" warning - some compilers
ignores classic method with ( void ) prefixing.
2013-02-01 13:39 UTC+0100 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
+ added/cased recently added RTL functions

View File

@@ -81,7 +81,7 @@ HB_FUNC( __RUN )
#else
char * pszFree = NULL;
( void ) system( hb_osEncodeCP( pszCommand, &pszFree, NULL ) );
if( system( hb_osEncodeCP( pszCommand, &pszFree, NULL ) ) != 0 ) {}
if( pszFree )
hb_xfree( pszFree );