4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 04:49:25 +08:00
Sebastian Huber 098cf0f98d sys/tree.h: Simplify loop condition
We have

  #define RB_ISRED(elm, field) \
    ((elm) != NULL && RB_COLOR(elm, field) == RB_RED)

So, the RB_ISRED() contains an implicit check for NULL.  In
RB_GENERATE_REMOVE_COLOR() the "elm" pointer cannot be NULL in the while
condition.  Use RB_COLOR(elm) == RB_BLACK instead.
2021-10-05 16:09:11 +02:00
..
2016-10-25 16:24:05 +02:00
2019-11-04 07:03:15 +01:00
2018-01-17 11:47:13 -06:00
2018-01-17 11:47:17 -06:00
2018-01-17 11:47:17 -06:00
2021-01-26 17:27:35 +01:00
2018-01-17 11:47:13 -06:00
2021-10-05 16:09:11 +02:00
2020-08-25 20:54:33 +02:00
2015-05-28 16:40:43 +02:00