Commit 53963e4
Fix invalid 0 initialization
The line
```c++
rtosc_arg_t result = {0};
```
fails to zero-initialize the whole union (it only does so for the first
member, which is different behavior to structs).
This is fixed using "designated zero-initialization":
```c++
rtosc_arg_t result = {};
```
Checked the whole code, no other such union initialization issues.
This fixes test failures on some machines:
fat-message
test-arg-iter
SaveOscPresets
SaveOscBigFile1 parent 0e91f0c commit 53963e4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
0 commit comments