Merge pull request #27676 from qarmin/small_fixes_2
Small fixes to static analyzer bugs
This commit is contained in:
commit
ae41e35191
14 changed files with 59 additions and 72 deletions
|
|
@ -67,7 +67,7 @@ struct Rect2 {
|
|||
|
||||
if (p_point.x < position.x) {
|
||||
real_t d = position.x - p_point.x;
|
||||
dist = inside ? d : MIN(dist, d);
|
||||
dist = d;
|
||||
inside = false;
|
||||
}
|
||||
if (p_point.y < position.y) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue