summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-09-15 16:56:23 +0900
committergit <svn-admin@ruby-lang.org>2025-09-15 08:02:07 +0000
commit6d2f93f17022bb89ffed7c8f12ad6a8ef048e2b2 (patch)
tree20c540afc5cb210fc9e4bd4aba191e94bacd768f
parent9f024c2240b10408a03634b708b3a98a07126ffc (diff)
[ruby/date] Suppress maybe-uninitialized warning by gcc-13
https://github.com/ruby/date/commit/afaa4a997b
-rw-r--r--ext/date/date_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index dbee067f6b..457838e41f 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -3974,7 +3974,7 @@ rt_complete_frags(VALUE klass, VALUE hash)
rb_gc_register_mark_object(tab);
}
- k = Qnil;
+ k = a = Qnil;
{
long i, eno = 0;