On Thu, 23 Jul 2009, Chen Kedem wrote:

Hi,

> In source/rtl/hbi18n1.c, Function hb_i18n_setcodepage(),
> "ulLen" is defined on both lines 587 and 591:
> 
> --------
>             ULONG ulLen = hb_hashLen( pI18N->context_table ), ul;
>             for( ul = 1; ul <= ulLen; ++ul )
>             {
>                PHB_ITEM pContext = hb_hashGetValueAt( pI18N->context_table, 
> ul );
>                ULONG ulCount = hb_hashLen( pContext ), ulLen, u;
> --------
> 
> It looks ambiguous (ChangeLog rev11883).

Thanks for the info. It's correct code but I agree it looks ambiguous
and I'll clean it in next commit. It's enough to change 1-st two lines:

         ULONG ulHashLen = hb_hashLen( pI18N->context_table ), ul;
         for( ul = 1; ul <= ulHashLen; ++ul )

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to