From 2790428e55f4e6113dcd60c716d464d4c2193903 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Mon, 5 Oct 2020 12:46:14 -0400 Subject: Zero sized array are not standard C --- tool/ruby_vm/models/micro_jit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/ruby_vm') diff --git a/tool/ruby_vm/models/micro_jit.rb b/tool/ruby_vm/models/micro_jit.rb index eb20fe7335..b2ce26cb3a 100644 --- a/tool/ruby_vm/models/micro_jit.rb +++ b/tool/ruby_vm/models/micro_jit.rb @@ -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) -- cgit v1.2.1