mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 11:45:39 +01:00
Fix build with gcc -Wshadow
This commit is contained in:
parent
9597238058
commit
1fdf2c2d1c
@ -232,12 +232,12 @@ static int myrand( void *rng_state, unsigned char *output, size_t len )
|
|||||||
|
|
||||||
#define CHECK_AND_CONTINUE( R ) \
|
#define CHECK_AND_CONTINUE( R ) \
|
||||||
{ \
|
{ \
|
||||||
int ret = ( R ); \
|
int CHECK_AND_CONTINUE_ret = ( R ); \
|
||||||
if( ret == MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED ) { \
|
if( CHECK_AND_CONTINUE_ret == MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED ) { \
|
||||||
mbedtls_printf( "Feature not supported. Skipping.\n" ); \
|
mbedtls_printf( "Feature not supported. Skipping.\n" ); \
|
||||||
continue; \
|
continue; \
|
||||||
} \
|
} \
|
||||||
else if( ret != 0 ) { \
|
else if( CHECK_AND_CONTINUE_ret != 0 ) { \
|
||||||
mbedtls_exit( 1 ); \
|
mbedtls_exit( 1 ); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user