mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
initialize myStack to NULL for the later check against NULL
This commit is contained in:
@@ -1374,7 +1374,7 @@ typedef THREAD_RETURN WOLFSSL_THREAD (*thread_func)(void* args);
|
|||||||
static INLINE void StackSizeCheck(func_args* args, thread_func tf)
|
static INLINE void StackSizeCheck(func_args* args, thread_func tf)
|
||||||
{
|
{
|
||||||
int ret, i, used;
|
int ret, i, used;
|
||||||
unsigned char* myStack;
|
unsigned char* myStack = NULL;
|
||||||
int stackSize = 1024*128;
|
int stackSize = 1024*128;
|
||||||
pthread_attr_t myAttr;
|
pthread_attr_t myAttr;
|
||||||
pthread_t threadId;
|
pthread_t threadId;
|
||||||
|
Reference in New Issue
Block a user