Skip to content

Conversation

@nobu
Copy link
Member

@nobu nobu commented Oct 17, 2025

  /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 */
        |                     ^

```
  /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 */
        |                     ^
```
@nobu nobu merged commit c4549d0 into ruby:master Oct 18, 2025
63 of 64 checks passed
@nobu nobu deleted the const-member branch October 18, 2025 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant