You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib/common/threading.c:79:6: warning: Either the condition '!thread' is redundant or there is possible null pointer dereference: thread. [nullPointerRedundantCheck]
*thread = NULL;
^
lib/common/threading.c:94:9: note: Assuming that condition '!thread' is not redundant
if (!thread) {
^
lib/common/threading.c:79:6: note: Null pointer dereference
*thread = NULL;
^
lib/common/threading.c:93:6: warning: Either the condition '!thread' is redundant or there is possible null pointer dereference: thread. [nullPointerRedundantCheck]
*thread = (HANDLE)_beginthreadex(NULL, 0, worker, &thread_param, 0, NULL);
^
lib/common/threading.c:94:9: note: Assuming that condition '!thread' is not redundant
if (!thread) {
^
lib/common/threading.c:93:6: note: Null pointer dereference
*thread = (HANDLE)_beginthreadex(NULL, 0, worker, &thread_param, 0, NULL);
^
using cppcheck on the source code :
I think the correction may be :
The text was updated successfully, but these errors were encountered: