Merge pull request #7091 from paul-elliott-arm/remove_gcc_warning
Fix warning with GCC 12
This commit is contained in:
commit
88f8eb5844
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
/* BEGIN_CASE */
|
||||
void mbedtls_ct_memcmp_null()
|
||||
{
|
||||
uint32_t x;
|
||||
uint32_t x = 0;
|
||||
TEST_ASSERT(mbedtls_ct_memcmp(&x, NULL, 0) == 0);
|
||||
TEST_ASSERT(mbedtls_ct_memcmp(NULL, &x, 0) == 0);
|
||||
TEST_ASSERT(mbedtls_ct_memcmp(NULL, NULL, 0) == 0);
|
||||
|
|
Loading…
Reference in a new issue