Skip to content

Commit

Permalink
Remove unused variable in mpi_mul_hlp()
Browse files Browse the repository at this point in the history
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
  • Loading branch information
Hanno Becker committed Apr 6, 2022
1 parent cccbe0e commit e7f14a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/bignum.c
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ void mpi_mul_hlp( size_t i,
mbedtls_mpi_uint *d,
mbedtls_mpi_uint b )
{
mbedtls_mpi_uint c = 0, t = 0;
mbedtls_mpi_uint c = 0; /* carry */

#if defined(MULADDC_HUIT)
for( ; i >= 8; i -= 8 )
Expand Down Expand Up @@ -1449,8 +1449,6 @@ void mpi_mul_hlp( size_t i,
}
#endif /* MULADDC_HUIT */

t++;

while( c != 0 )
{
*d += c; c = ( *d < c ); d++;
Expand Down

0 comments on commit e7f14a3

Please sign in to comment.