diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-10-17 16:15:42 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-10-18 03:54:28 +0000 |
| commit | db357848950d54128d6505621037872e7575697a (patch) | |
| tree | 6117178a81b7c119bc95c4579a472e5c9584992b /struct.c | |
| parent | 7989a2ff46e0dc8dc26b1571215768801fa04463 (diff) | |
[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 */
| ^
```
https://github.com/ruby/zlib/commit/dfa1fcbd37
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions
