summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2020-10-05 12:46:14 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:24 -0400
commit2790428e55f4e6113dcd60c716d464d4c2193903 (patch)
tree47d13c934592442fc90ae7ca41a912daf66fab93 /tool
parent7e400ddc791fc4111cbfb273574657c41ca5b22e (diff)
Zero sized array are not standard C
Diffstat (limited to 'tool')
-rw-r--r--tool/ruby_vm/models/micro_jit.rb2
1 files changed, 1 insertions, 1 deletions
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)