Commit db35784
[ruby/zlib] Initialize const member
```
/github/workspace/src/ext/zlib/zlib.c:2608:25: warning: default initialization of an object of type 'struct read_raw_arg' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe]
2608 | struct read_raw_arg ra;
| ^
/github/workspace/src/ext/zlib/zlib.c:2450:14: note: member 'argv' declared 'const' here
2450 | const VALUE argv[2]; /* for rb_funcallv */
| ^
```
ruby/zlib@dfa1fcbd371 parent 7989a2f commit db35784
1 file changed
+12
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2444 | 2444 | | |
2445 | 2445 | | |
2446 | 2446 | | |
| 2447 | + | |
2447 | 2448 | | |
2448 | 2449 | | |
2449 | | - | |
2450 | | - | |
2451 | | - | |
2452 | | - | |
2453 | | - | |
2454 | | - | |
2455 | | - | |
| 2450 | + | |
2456 | 2451 | | |
2457 | 2452 | | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
2458 | 2457 | | |
2459 | 2458 | | |
2460 | 2459 | | |
| |||
2580 | 2579 | | |
2581 | 2580 | | |
2582 | 2581 | | |
2583 | | - | |
| 2582 | + | |
2584 | 2583 | | |
2585 | | - | |
| 2584 | + | |
2586 | 2585 | | |
2587 | 2586 | | |
2588 | 2587 | | |
| |||
2593 | 2592 | | |
2594 | 2593 | | |
2595 | 2594 | | |
2596 | | - | |
2597 | | - | |
| 2595 | + | |
| 2596 | + | |
2598 | 2597 | | |
2599 | 2598 | | |
2600 | 2599 | | |
| |||
2605 | 2604 | | |
2606 | 2605 | | |
2607 | 2606 | | |
2608 | | - | |
2609 | | - | |
2610 | | - | |
2611 | | - | |
2612 | | - | |
| 2607 | + | |
| 2608 | + | |
2613 | 2609 | | |
2614 | 2610 | | |
2615 | 2611 | | |
| |||
0 commit comments