From 8f2b17341b1b3f6845928a8476f17c9c8e9d5e7d Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Thu, 23 Oct 2008 02:39:34 +0000 Subject: [PATCH] 2008-10-23 04:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c * removed unnecessary initialization * harbour/contrib/hbct/screen2.c * removed unused variable --- harbour/ChangeLog | 7 +++++++ harbour/contrib/hbct/screen2.c | 2 +- harbour/source/rtl/gtwvt/gtwvt.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9b7ed49da9..cb2de6d0cf 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,13 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-10-23 04:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/gtwvt/gtwvt.c + * removed unnecessary initialization + + * harbour/contrib/hbct/screen2.c + * removed unused variable + 2008-10-23 04:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtapi.c * LOCK/UNLOCK GT in hb_gtBeginWrite()/hb_gtEndWrite() diff --git a/harbour/contrib/hbct/screen2.c b/harbour/contrib/hbct/screen2.c index d0a4b25153..97822eaf46 100644 --- a/harbour/contrib/hbct/screen2.c +++ b/harbour/contrib/hbct/screen2.c @@ -403,7 +403,7 @@ HB_FUNC( STRSCREEN ) HB_FUNC( _HB_CTDSPTIME ) { SHORT sRow, sCol; - int iColor, iLen, i; + int iColor, iLen; char szTime[ 10 ]; sRow = ( SHORT ) hb_parni( 1 ); diff --git a/harbour/source/rtl/gtwvt/gtwvt.c b/harbour/source/rtl/gtwvt/gtwvt.c index 8ca1f0c89c..3c6dd399dc 100644 --- a/harbour/source/rtl/gtwvt/gtwvt.c +++ b/harbour/source/rtl/gtwvt/gtwvt.c @@ -1554,7 +1554,7 @@ static BOOL hb_gt_wvt_ValidWindowSize( HWND hWnd, int rows, int cols, HFONT hFon static HWND hb_gt_wvt_CreateWindow( HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow ) { - HWND hWnd = ( HWND ) 0; + HWND hWnd; LPTSTR szAppName; HB_SYMBOL_UNUSED( hPrevInstance );