We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ad123d commit 96b9d67Copy full SHA for 96b9d67
1 file changed
tests/src/psa_exercise_key.c
@@ -38,6 +38,15 @@
38
#include <rsa_internal.h>
39
#endif
40
41
+#if defined(__IAR_SYSTEMS_ICC__)
42
+/* Suppress a very overeager warning from IAR: it dislikes a forward goto
43
+ * that bypasses the initialization of a variable, even if that variable
44
+ * is not used after the jump. (This is perfectly valid C; it would only
45
+ * be invalid C if jumping into a block from outside that block.)
46
+ */
47
+#pragma diag_suppress=Pe546 // transfer of control bypasses initialization
48
+#endif
49
+
50
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
51
static int lifetime_is_dynamic_secure_element(psa_key_lifetime_t lifetime)
52
{
0 commit comments