1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Adjust indent

This commit is contained in:
Nobuyoshi Nakada 2020-08-10 16:35:42 +09:00
parent b4b702dd4f
commit fac62f094e
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -6467,7 +6467,7 @@ str_undump(VALUE str)
rb_raise(rb_eRuntimeError, "non-ASCII character detected");
}
if (!str_null_check(str, &w)) {
rb_raise(rb_eRuntimeError, "string contains null byte");
rb_raise(rb_eRuntimeError, "string contains null byte");
}
if (RSTRING_LEN(str) < 2) goto invalid_format;
if (*s != '"') goto invalid_format;