clang-tidy is being super picky

This commit is contained in:
Andras Fekete
2023-09-11 16:30:29 -04:00
parent c7f5043774
commit d25f4f06bf

View File

@ -105,12 +105,9 @@ int server_async_test(int argc, char** argv)
/* declare wolfSSL objects */
WOLFSSL_CTX* ctx = NULL;
WOLFSSL* ssl = NULL;
#ifdef HAVE_SIGNAL
sighandler_t sigRet = 0;
#endif
#ifdef HAVE_SIGNAL
if ((sigRet = signal(SIGINT, sig_handler)) == SIG_ERR) {
if ((signal(SIGINT, sig_handler)) == SIG_ERR) {
fprintf(stderr, "ERROR: failed to listen to SIGINT (errno: %d)\n",errno);
goto exit;
}