Suppress warnings by gcc-13 with -Og
This commit is contained in:
parent
0e0008da0f
commit
edaa27ce45
@ -715,7 +715,7 @@ rb_getnameinfo(const struct sockaddr *sa, socklen_t salen,
|
|||||||
{
|
{
|
||||||
int retry;
|
int retry;
|
||||||
struct getnameinfo_arg *arg;
|
struct getnameinfo_arg *arg;
|
||||||
int err, gni_errno = 0;
|
int err = 0, gni_errno = 0;
|
||||||
|
|
||||||
start:
|
start:
|
||||||
retry = 0;
|
retry = 0;
|
||||||
|
@ -4122,7 +4122,7 @@ rb_fork_ruby(int *status)
|
|||||||
{
|
{
|
||||||
struct rb_process_status child = {.status = 0};
|
struct rb_process_status child = {.status = 0};
|
||||||
rb_pid_t pid;
|
rb_pid_t pid;
|
||||||
int try_gc = 1, err;
|
int try_gc = 1, err = 0;
|
||||||
struct child_handler_disabler_state old;
|
struct child_handler_disabler_state old;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
4
symbol.c
4
symbol.c
@ -883,7 +883,7 @@ rb_gc_free_dsymbol(VALUE sym)
|
|||||||
VALUE
|
VALUE
|
||||||
rb_str_intern(VALUE str)
|
rb_str_intern(VALUE str)
|
||||||
{
|
{
|
||||||
VALUE sym;
|
VALUE sym = 0;
|
||||||
|
|
||||||
GLOBAL_SYMBOLS_LOCKING(symbols) {
|
GLOBAL_SYMBOLS_LOCKING(symbols) {
|
||||||
sym = lookup_str_sym_with_lock(symbols, str);
|
sym = lookup_str_sym_with_lock(symbols, str);
|
||||||
@ -920,7 +920,7 @@ rb_str_intern(VALUE str)
|
|||||||
ID
|
ID
|
||||||
rb_sym2id(VALUE sym)
|
rb_sym2id(VALUE sym)
|
||||||
{
|
{
|
||||||
ID id;
|
ID id = 0;
|
||||||
if (STATIC_SYM_P(sym)) {
|
if (STATIC_SYM_P(sym)) {
|
||||||
id = STATIC_SYM2ID(sym);
|
id = STATIC_SYM2ID(sym);
|
||||||
}
|
}
|
||||||
|
@ -2248,6 +2248,8 @@ iterate_over_shapes_with_callback(rb_shape_t *shape, rb_ivar_foreach_callback_fu
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
default:
|
||||||
|
UNREACHABLE_RETURN(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user