Skip to content

Commit 6ae38f1

Browse files
committed
move unused variable suppression to top of exit_rsa label
1 parent b3f08f3 commit 6ae38f1

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

wolfcrypt/test/test.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25720,6 +25720,18 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t rsa_test(void)
2572025720

2572125721
exit_rsa:
2572225722

25723+
(void)res;
25724+
(void)bytes;
25725+
(void)idx;
25726+
(void)in;
25727+
(void)out;
25728+
(void)plain;
25729+
(void)idx;
25730+
(void)inStr;
25731+
(void)inLen;
25732+
(void)outSz;
25733+
(void)plainSz;
25734+
2572325735
#if !defined(WOLFSSL_NO_MALLOC)
2572425736
XFREE(der, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
2572525737
#if defined(WOLFSSL_CERT_REQ)
@@ -25748,18 +25760,6 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t rsa_test(void)
2574825760
WC_FREE_VAR(out, HEAP_HINT);
2574925761
WC_FREE_VAR(plain, HEAP_HINT);
2575025762

25751-
(void)res;
25752-
(void)bytes;
25753-
(void)idx;
25754-
(void)in;
25755-
(void)out;
25756-
(void)plain;
25757-
(void)idx;
25758-
(void)inStr;
25759-
(void)inLen;
25760-
(void)outSz;
25761-
(void)plainSz;
25762-
2576325763
/* ret can be greater then 0 with certgen but all negative values should
2576425764
* be returned and treated as an error */
2576525765
if (ret >= 0) {

0 commit comments

Comments
 (0)