diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-06-01 16:22:31 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-06-01 16:22:31 +0900 |
commit | a720a1c44702d91217b781e582269f1c57ecff1d () | |
tree | 0efeba947f64b9a316d441ca05d7c5e4a84e78cc | |
parent | 1eb651fb50d65b708453efdd6506870e061758c8 (diff) |
Suppress -Wmaybe-uninitialized warnings with LTO
-rw-r--r-- | ext/socket/raddrinfo.c | 2 | ||||
-rw-r--r-- | prism_compile.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -481,7 +481,7 @@ rb_getaddrinfo(const char *hostp, const char *portp, const struct addrinfo *hint { int retry; struct getaddrinfo_arg *arg; - int err, gai_errno = 0; start: retry = 0; @@ -992,7 +992,7 @@ pm_compile_conditional(rb_iseq_t *iseq, const pm_line_column_t *line_column, pm_ pm_compile_branch_condition(iseq, cond_seq, predicate, then_label, else_label, false, scope_node); PUSH_SEQ(ret, cond_seq); - rb_code_location_t conditional_location; VALUE branches = Qfalse; if (then_label->refcnt && else_label->refcnt && PM_BRANCH_COVERAGE_P(iseq)) { @@ -6140,7 +6140,7 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, // We're going to use this to uniquely identify each branch so that we // can track coverage information. - rb_code_location_t case_location; VALUE branches = Qfalse; int branch_id = 0; |