Date: Sun, 04 Aug 2024 21:19:53 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280618] sys/sys/tree.h: The RB_GENERATE_INSERT_COLOR macro is weird. Message-ID: <bug-280618-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280618 Bug ID: 280618 Summary: sys/sys/tree.h: The RB_GENERATE_INSERT_COLOR macro is weird. Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: hodong@nimfsoft.art There seems to be a problem with the RB_GENERATE_INSERT_COLOR macro. do { \ ... return (child); \ } while ((parent =3D gpar) !=3D NULL); = \ There is a "return" at the end of the "do ... while" loop, so "while ((pare= nt =3D gpar) !=3D NULL);" is not evaluated. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280618-227>