2012-05-16 18:38 UTC+0200 Viktor Szakats (harbour syenar.net)

* src/rtl/hbgtcore.c
  * src/rtl/rat.c
  * src/codepage/cp_utf8.c
    % deleted unnecessary assignment generating warnings with 
      some compilers
This commit is contained in:
Viktor Szakats
2012-05-16 16:39:24 +00:00
parent 11eecc403b
commit f71c4e0a25
4 changed files with 9 additions and 3 deletions

View File

@@ -16,6 +16,13 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-05-16 18:38 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbgtcore.c
* src/rtl/rat.c
* src/codepage/cp_utf8.c
% deleted unnecessary assignment generating warnings with
some compilers
2012-05-16 18:28 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/vm/set.c
! added missing '#include "hbvm.h"' for hb_vmIsReady()

View File

@@ -198,7 +198,6 @@ static HB_CDP_CMP_FUNC( UTF8_cmpi )
HB_SIZE nPos1 = 0, nPos2 = 0;
HB_WCHAR wc1, wc2;
iRet = 0;
for( ;; )
{
if( !HB_CDPCHAR_GET( cdp, szSecond, nLenSecond, &nPos2, &wc2 ) )

View File

@@ -1969,7 +1969,7 @@ static int hb_gt_def_Alert( PHB_GT pGT, PHB_ITEM pMessage, PHB_ITEM pOptions,
PHB_CODEPAGE cdp = HB_GTSELF_HOSTCP( pGT );
char szKey[ HB_MAX_CHAR_LEN ];
HB_SIZE nChar;
int iKey = 0, i, iDspCount, iStyle, iRows, iCols,
int iKey, i, iDspCount, iStyle, iRows, iCols,
iRow, iCol, iTop, iLeft, iBottom, iRight, iMnuCol, iPos, iClr;
void * pBuffer = NULL;
HB_GT_INFO gtInfo;

View File

@@ -106,7 +106,7 @@ HB_FUNC( HB_RAT )
HB_ISIZ nFrom;
if( nStart <= 1 )
nStart = nFrom = 0;
nFrom = 0;
else if( HB_CDP_ISCHARIDX( cdp ) )
nFrom = hb_cdpTextPos( cdp, pszText, nTo, --nStart );
else