Skip to content
Commit 5b3df8a1 authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Kumar Gala
Browse files

posix: pthread_create: Ignore retval of pthread_mutex_init() calls



pthread_mutex_init() just redirects to Zephyr kernel primitive, for
initializing structure fields. So, use the knowledge that it can't
fail (for as long as structure pointer is initialized, and here it's
from pre-allocated array), and ignore return value of
pthread_mutex_init()

Coverity-CID: 203542
Fixes: #18371

Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent e27b0876
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment