[Bug 1861] RBTree: redundant code removed

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Aug 1 20:05:36 UTC 2011


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

--- Comment #9 from Gedare <giddyup44 at yahoo.com> 2011-08-01 15:05:34 CDT ---
(In reply to comment #8)
> Created attachment 1264 [details]
> RBTree remove redundant code - 2nd version
> 
> New version of the patch now. The other uncovered cases will be proposed in a
> patch for the sprbtree01 test.

Looks good to me, I agree that the 3rd case is redundant/impossible---no black
node should have a single black child, otherwise the red-black rules are
violated.

-- 
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