diff --git a/harbour/ChangeLog.txt b/harbour/ChangeLog.txt index c25c3bebd5..dc6812fa0f 100644 --- a/harbour/ChangeLog.txt +++ b/harbour/ChangeLog.txt @@ -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 diff --git a/harbour/src/rtl/run.c b/harbour/src/rtl/run.c index fb9f1e1862..50b1d7e945 100644 --- a/harbour/src/rtl/run.c +++ b/harbour/src/rtl/run.c @@ -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 );