From dd7f9b618de868c6a8158c50d750f9edb91dec38 Mon Sep 17 00:00:00 2001 From: toddouska Date: Thu, 25 Aug 2016 12:23:57 -0700 Subject: [PATCH] make sure static analysis realizes err_sys does exit() --- wolfssl/test.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wolfssl/test.h b/wolfssl/test.h index 360d3e908..cac07f7da 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -358,8 +358,7 @@ static const word16 wolfSSLPort = 11111; static INLINE void err_sys(const char* msg) { printf("wolfSSL error: %s\n", msg); - if (msg) - exit(EXIT_FAILURE); + exit(EXIT_FAILURE); }