mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-13 08:54:59 +00:00
ImutAVLTree::validateTree - fix null dereference typo warning. NFCI.
Noticed by static analyzer.
This commit is contained in:
parent
f520308e27
commit
6ac66de93f
@ -205,8 +205,7 @@ public:
|
||||
ImutInfo::KeyOfValue(getValue()))) &&
|
||||
"Value in left child is not less that current value");
|
||||
|
||||
|
||||
assert(!(getRight() ||
|
||||
assert((!getRight() ||
|
||||
ImutInfo::isLess(ImutInfo::KeyOfValue(getValue()),
|
||||
ImutInfo::KeyOfValue(getRight()->getValue()))) &&
|
||||
"Current value is not less that value of right child");
|
||||
|
Loading…
x
Reference in New Issue
Block a user