Commit 3ff3762
authored
Fix uninitialized member (#8094)
std::array is an aggregate type with a C array as a member so its
default initialization is garbage. Change it to value initialization to
ensure that it has a defined value which removes the need for disabling
the warnings and fixes the Alpine CI build.1 parent 70bf2dc commit 3ff3762
1 file changed
Lines changed: 1 addition & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 33 | | |
50 | 34 | | |
51 | 35 | | |
52 | | - | |
| 36 | + | |
53 | 37 | | |
54 | 38 | | |
55 | 39 | | |
| |||
246 | 230 | | |
247 | 231 | | |
248 | 232 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 233 | | |
258 | 234 | | |
259 | 235 | | |
0 commit comments