mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-10 03:39:03 +08:00
Merge pull request #7091 from paul-elliott-arm/remove_gcc_warning
Fix warning with GCC 12
This commit is contained in:
commit
88f8eb5844
@ -18,7 +18,7 @@
|
|||||||
/* BEGIN_CASE */
|
/* BEGIN_CASE */
|
||||||
void mbedtls_ct_memcmp_null()
|
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(&x, NULL, 0) == 0);
|
||||||
TEST_ASSERT(mbedtls_ct_memcmp(NULL, &x, 0) == 0);
|
TEST_ASSERT(mbedtls_ct_memcmp(NULL, &x, 0) == 0);
|
||||||
TEST_ASSERT(mbedtls_ct_memcmp(NULL, NULL, 0) == 0);
|
TEST_ASSERT(mbedtls_ct_memcmp(NULL, NULL, 0) == 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user