mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
clang-tidy is being super picky
This commit is contained in:
@ -105,12 +105,9 @@ int server_async_test(int argc, char** argv)
|
|||||||
/* declare wolfSSL objects */
|
/* declare wolfSSL objects */
|
||||||
WOLFSSL_CTX* ctx = NULL;
|
WOLFSSL_CTX* ctx = NULL;
|
||||||
WOLFSSL* ssl = NULL;
|
WOLFSSL* ssl = NULL;
|
||||||
#ifdef HAVE_SIGNAL
|
|
||||||
sighandler_t sigRet = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SIGNAL
|
#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);
|
fprintf(stderr, "ERROR: failed to listen to SIGINT (errno: %d)\n",errno);
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user