]> 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>
Mon, 1 Aug 2022 05:37:37 +0000 (00:37 -0500)
commit882c35e41275c1eb98a5a8f3444ac9f09f292e3c
treecd2410180289b04d47799fe85f3d3fd09a1c7cd1
parent158071c51a1f3344f5160162e477ba42b0633267
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)
sys/sys/tree.h