forked from wolfSSL/wolfssl
make sure static analysis realizes err_sys does exit()
This commit is contained in:
@@ -358,8 +358,7 @@ static const word16 wolfSSLPort = 11111;
|
|||||||
static INLINE void err_sys(const char* msg)
|
static INLINE void err_sys(const char* msg)
|
||||||
{
|
{
|
||||||
printf("wolfSSL error: %s\n", msg);
|
printf("wolfSSL error: %s\n", msg);
|
||||||
if (msg)
|
exit(EXIT_FAILURE);
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user