mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-10 14:23:42 +02:00
Fix GCC warning
We know that we'll never call this function with T_size == 0, but the compiler doesn't. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
@@ -2157,7 +2157,7 @@ static size_t mbedtls_mpi_cf_bool_eq( size_t x, size_t y )
|
||||
*/
|
||||
static int mpi_select( mbedtls_mpi *R, const mbedtls_mpi *T, size_t T_size, size_t idx )
|
||||
{
|
||||
int ret;
|
||||
int ret = MBEDTLS_ERR_MPI_BAD_INPUT_DATA;
|
||||
|
||||
for( size_t i = 0; i < T_size; i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user