Commit 92cfb2e
committed
Coverity: Side effect in assertion
1. Modify AssertNotNull() to use the same pattern as AssertNull(). The
macro assigns the pointer to a local variable and that is checked.
Fixes CIDs:
537020 573008 573010 573011 573013 573014 573015
573016 573017 573018 573022 573023 5730241 parent dd377d6 commit 92cfb2e
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
0 commit comments