HomeFreeBSD

rb_tree: silence coverity

Description

rb_tree: silence coverity

Add comments to RB_INSERT_COLOR to silence coverity warnings about the
use of an uninitialized variable. Since other static analyzers will
complain too, add a comment to explain why the complaints are unwarranted.

Reviewed by: markj
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D35671

(cherry picked from commit 91b30f7ad22642979b56a56b211843cbd9d35984)

Details

Provenance
dougmAuthored on Jun 30 2022, 5:27 PM
Reviewer
markj
Differential Revision
D35671: rb_tree: silence coverity
Parents
rG158071c51a1f: Adjust function definitions in xen's control.c to avoid clang 15 warnings
Branches
Unknown
Tags
Unknown