]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rb_tree: silence coverity
authorDoug Moore <dougm@FreeBSD.org>
Thu, 30 Jun 2022 17:27:33 +0000 (12:27 -0500)
committerDoug Moore <dougm@FreeBSD.org>
Thu, 30 Jun 2022 17:35:05 +0000 (12:35 -0500)
commit91b30f7ad22642979b56a56b211843cbd9d35984
tree78c2e147fe0657f868d53f86d3ad1af41f434fef
parentb9c3e544c48e76dd01aa32e9b1f5cd4c1ad8532c
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
sys/sys/tree.h