mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 12:18:11 +00:00
Avoid unused-variable warnings for str as well
The exact guard is FS_IO && PK_PARSE_C. Just keep it simple.
This commit is contained in:
parent
88ca3a244e
commit
743e3988dc
1 changed files with 1 additions and 2 deletions
|
@ -200,15 +200,14 @@ void invalid_parameters( )
|
|||
unsigned char *null_buf = NULL;
|
||||
unsigned char buf[1];
|
||||
unsigned char *p = buf;
|
||||
#if defined(MBEDTLS_FS_IO)
|
||||
char str[1] = {0};
|
||||
#endif
|
||||
mbedtls_pk_context pk;
|
||||
mbedtls_md_type_t valid_md = MBEDTLS_MD_SHA256;
|
||||
void *options = buf;
|
||||
|
||||
(void) null_buf;
|
||||
(void) p;
|
||||
(void) str;
|
||||
|
||||
mbedtls_pk_init( &pk );
|
||||
|
||||
|
|
Loading…
Reference in a new issue