Commit 9fe18b1
committed
fix: Fix some false positive from PVS Studio.
It correctly warns about potentially dereferencing NULL chat in a log
statement. However, chat can semantically never be NULL in that call,
and it's just a defensive check. Still good to fix for clarity.1 parent 7c44379 commit 9fe18b1
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5560 | 5560 | | |
5561 | 5561 | | |
5562 | 5562 | | |
5563 | | - | |
5564 | | - | |
| 5563 | + | |
5565 | 5564 | | |
5566 | 5565 | | |
5567 | 5566 | | |
5568 | | - | |
| 5567 | + | |
| 5568 | + | |
5569 | 5569 | | |
5570 | 5570 | | |
5571 | 5571 | | |
| |||
0 commit comments