Zero sized array are not standard C

This commit is contained in:
Alan Wu 2020-10-05 12:46:14 -04:00
parent 7e400ddc79
commit 2790428e55

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)