Commit 8d379ba
committed
COMP: Value-initialize points in SubdivisionQuadEdgeMesh regression test
GCC -Wmaybe-uninitialized reports the FixedArray storage of the ipt/opt
points as possibly used uninitialized: they are filled by GetPoint()
through a pointer the optimizer cannot prove writes every element.
Value-initialize the points at declaration so their storage is defined
before GetPoint() overwrites it.1 parent df7ee28 commit 8d379ba
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- Modules/Filtering/SubdivisionQuadEdgeMeshFilter/test
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
| 169 | + | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
0 commit comments