Skip to content
Commit 2a5fb57e authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

lib: posix: mqueue: Do not dereference mqd pointer before null check



The compiler can remove the NULL check since the dereference happens
before it (and assume that the pointer is always valid).

Coverity-Id: 185281

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent a380dce0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment