From: Bodo Möller Date: Tue, 29 Oct 2002 11:50:20 +0000 (+0000) Subject: avoid warnings ('index' shadows global declaration) X-Git-Tag: OpenSSL_0_9_7-beta4~18^2~100 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=90a617e05054f4b56aebf0b41a6cd465a26ebeca avoid warnings ('index' shadows global declaration) Submitted by: Nils Larsch --- diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h index 090a7a0d00..1db940f4c5 100644 --- a/crypto/bn/bn_lcl.h +++ b/crypto/bn/bn_lcl.h @@ -242,9 +242,9 @@ struct bignum_ctx #define bn_clear_top2max(a) \ { \ - int index = (a)->dmax - (a)->top; \ + int ind = (a)->dmax - (a)->top; \ BN_ULONG *ftl = &(a)->d[(a)->top-1]; \ - for (; index != 0; index--) \ + for (; ind != 0; ind--) \ *(++ftl) = 0x0; \ }