Skip to content

Commit 4ca5c31

Browse files
Merge pull request #9222 from douzzer/20250919-GetEcDiffieHellmanKea-clang-analyzer-deadcode.DeadStores
20250919-GetEcDiffieHellmanKea-clang-analyzer-deadcode.DeadStores
2 parents b90720c + 4174f55 commit 4ca5c31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/internal.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32307,6 +32307,8 @@ static int GetEcDiffieHellmanKea(WOLFSSL *ssl,
3230732307
else {
3230832308
SendAlert(ssl, alert_fatal, illegal_parameter);
3230932309
}
32310+
#else
32311+
(void)ret;
3231032312
#endif
3231132313
return ECC_PEERKEY_ERROR;
3231232314
}
@@ -32349,6 +32351,8 @@ static int GetEcDiffieHellmanKea(WOLFSSL *ssl,
3234932351
else {
3235032352
SendAlert(ssl, alert_fatal, illegal_parameter);
3235132353
}
32354+
#else
32355+
(void)ret;
3235232356
#endif
3235332357
return ECC_PEERKEY_ERROR;
3235432358
}

0 commit comments

Comments
 (0)