diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-09-28 10:49:07 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-10-05 14:18:23 +0900 |
commit | e42c8c160d17e302f56fdc4af4d54043ed2499df (patch) | |
tree | 0012e0da98610100e37d80fdb9284d8a5b74e114 /string.c | |
parent | ee89543e09a2d4e4c503267c248ba7bfffa668cb (diff) | |
download | ruby-e42c8c160d17e302f56fdc4af4d54043ed2499df.tar.gz |
add undeclared variables
Why did they even exist?
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6897,6 +6897,7 @@ upcase_single(VALUE str) while (s < send) { unsigned int c = *(unsigned char*)s; + const rb_encoding *const enc = 0; if (rb_enc_isascii(c, enc) && 'a' <= c && c <= 'z') { *s = 'A' + (c - 'a'); @@ -6987,6 +6988,7 @@ downcase_single(VALUE str) while (s < send) { unsigned int c = *(unsigned char*)s; + const rb_encoding *const enc = 0; if (rb_enc_isascii(c, enc) && 'A' <= c && c <= 'Z') { *s = 'a' + (c - 'A'); |