forked from wolfSSL/wolfssl
Fix for cppcheck
This commit is contained in:
@@ -2175,6 +2175,9 @@ static THREAD_RETURN WOLFSSL_THREAD test_server_nofail(void* args)
|
||||
int ret, err = 0;
|
||||
int sharedCtx = 0;
|
||||
|
||||
if (args)
|
||||
return -1;
|
||||
|
||||
#ifdef WOLFSSL_TIRTOS
|
||||
fdOpenSession(Task_self());
|
||||
#endif
|
||||
@@ -2397,6 +2400,9 @@ static THREAD_RETURN WOLFSSL_THREAD test_server_loop(void* args)
|
||||
int loop_count = ((func_args*)args)->argc;
|
||||
int count = 0;
|
||||
|
||||
if (args)
|
||||
return -1;
|
||||
|
||||
#ifdef WOLFSSL_TIRTOS
|
||||
fdOpenSession(Task_self());
|
||||
#endif
|
||||
@@ -2993,6 +2999,9 @@ static THREAD_RETURN WOLFSSL_THREAD run_wolfssl_server(void* args)
|
||||
int idx;
|
||||
int ret, err = 0;
|
||||
|
||||
if (args)
|
||||
return -1;
|
||||
|
||||
#ifdef WOLFSSL_TIRTOS
|
||||
fdOpenSession(Task_self());
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user