Commit bd6259a
committed
Fix clang scan-build findings in the tracker and engine
- collectStaticFieldAnchorsForRotation: the other tier is the last
consumer of the anchor budget - stop accumulating its leftover back
into budget_left (dead store).
- buildCanaryChainEvent: capture the chain size before moving the vector
into the event instead of reading the moved-from object for the log.
- secondsToOOM: check ringThirdsStats()'s return for the time ring
instead of reading time_stats uninitialized on its (unreachable-in-
practice, but analyzer-visible) failure path - same head/fill/min-fill
gate as the byte call, so it cannot trigger once the byte call passed.1 parent de4603c commit bd6259a
2 files changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1374 | 1374 | | |
1375 | 1375 | | |
1376 | 1376 | | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
1381 | 1389 | | |
1382 | 1390 | | |
1383 | 1391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3674 | 3674 | | |
3675 | 3675 | | |
3676 | 3676 | | |
3677 | | - | |
3678 | | - | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
3679 | 3681 | | |
3680 | 3682 | | |
3681 | 3683 | | |
| |||
6079 | 6081 | | |
6080 | 6082 | | |
6081 | 6083 | | |
| 6084 | + | |
6082 | 6085 | | |
6083 | 6086 | | |
6084 | 6087 | | |
6085 | | - | |
| 6088 | + | |
6086 | 6089 | | |
6087 | 6090 | | |
6088 | 6091 | | |
| |||
0 commit comments