diff --git a/harbour/ChangeLog b/harbour/ChangeLog index cba09a3d1b..e1a710b790 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-16 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/rddsql/sddmy/mysqldd.c + ! Fixed warning reported by linux/watcom. + + * src/rtl/gtwin/gtwin.c + * Minor formatting. + 2009-12-16 01:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/mapi.c ! fixed compilation with OpenWatcom diff --git a/harbour/contrib/rddsql/sddmy/mysqldd.c b/harbour/contrib/rddsql/sddmy/mysqldd.c index b486416695..abd89d4f48 100644 --- a/harbour/contrib/rddsql/sddmy/mysqldd.c +++ b/harbour/contrib/rddsql/sddmy/mysqldd.c @@ -101,8 +101,8 @@ static void hb_mysqldd_init( void * cargo ) { HB_SYMBOL_UNUSED( cargo ); - if ( ! hb_sddRegister( & mysqldd ) || - ( sizeof( MYSQL_ROW_OFFSET ) != sizeof( void * ) ) || + if ( ! hb_sddRegister( & mysqldd ) || + ( sizeof( MYSQL_ROW_OFFSET ) != sizeof( void * ) ) || ( sizeof( MYSQL_ROW ) != sizeof( void * ) ) ) { hb_errInternal( HB_EI_RDDINVALID, NULL, NULL, NULL ); @@ -429,7 +429,7 @@ static HB_ERRCODE mysqlClose( SQLBASEAREAP pArea ) static HB_ERRCODE mysqlGoTo( SQLBASEAREAP pArea, ULONG ulRecNo ) { - if ( ulRecNo <= 0 || ulRecNo > pArea->ulRecCount ) + if ( ulRecNo == 0 || ulRecNo > pArea->ulRecCount ) { pArea->pRecord = pArea->pRow[ 0 ]; pArea->bRecordFlags = pArea->pRowFlags[ 0 ]; diff --git a/harbour/src/rtl/gtwin/gtwin.c b/harbour/src/rtl/gtwin/gtwin.c index 3fffea5753..58b730bf66 100644 --- a/harbour/src/rtl/gtwin/gtwin.c +++ b/harbour/src/rtl/gtwin/gtwin.c @@ -1529,7 +1529,6 @@ static BOOL hb_gt_win_SetDispCP( PHB_GT pGT, const char *pszTermCDP, const char static BOOL hb_gt_win_SetKeyCP( PHB_GT pGT, const char *pszTermCDP, const char *pszHostCDP ) { - HB_TRACE(HB_TR_DEBUG, ("hb_gt_win_SetKeyCP(%p,%s,%s)", pGT, pszTermCDP, pszHostCDP)); HB_GTSUPER_SETKEYCP( pGT, pszTermCDP, pszHostCDP );