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

Zero sized array are not standard C

This commit is contained in:
Alan Wu 2020-10-05 12:46:14 -04:00
parent 0900ddea18
commit 02c548b892

View file

@ -179,7 +179,7 @@ module RubyVM::MicroJIT
[true, comma_separated_hex_string(@pre_call_bytes), comma_separated_hex_string(@post_call_bytes)]
rescue => e
print_warning("scrape failed: #{e.message}")
[false, '', '']
[false, '0xcc', '0xcc']
end
def print_warning(text)