[PATCH 4/4] libdl/unresolved: Fix return value for rtems_rtl_unresolved_remove
chrisj at rtems.org
chrisj at rtems.org
Mon Feb 18 02:33:27 UTC 2019
From: Chris Johns <chrisj at rtems.org>
Coverity 1399717
Updates #3686
---
cpukit/libdl/rtl-unresolved.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/libdl/rtl-unresolved.c b/cpukit/libdl/rtl-unresolved.c
index 7ee572c351..dc21e9bcc1 100644
--- a/cpukit/libdl/rtl-unresolved.c
+++ b/cpukit/libdl/rtl-unresolved.c
@@ -672,9 +672,9 @@ rtems_rtl_unresolved_remove (rtems_rtl_obj* obj,
{
rtems_rtl_unresolved* unresolved;
unresolved = rtems_rtl_unresolved_unprotected ();
- if (!unresolved)
+ if (unresolved == NULL)
return false;
- return false;
+ return true;
}
/**
--
2.19.1
More information about the devel
mailing list