[Bug 2083] New: Wrong return value in _RBTree_Has_only_one_node

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Dec 18 11:51:44 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2083

             Bug #: 2083
           Summary: Wrong return value in _RBTree_Has_only_one_node
    Classification: Unclassified
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: andreas.heinig at cs.tu-dortmund.de


Created attachment 1491
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1491
Fixed return value

The function _RBTree_Has_only_one_node shall return a boolean value, but
returns NULL. NULL, however, is defined as: (void *)0. Hence it does not match
the scalar bool type.

=> Patch attached

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list