From f4f157fc81b940c0f76a01ee266a08e6bba69b6b Mon Sep 17 00:00:00 2001 From: Kenta Murata Date: Fri, 22 May 2020 13:49:08 +0900 Subject: Suppress warnings no inline ruby debug (#3107) * Suppress unused warnings occurred due to -fno-inline * Suppress warning occurred due to RUBY_DEBUG=1 --- vm_insnhelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_insnhelper.h') diff --git a/vm_insnhelper.h b/vm_insnhelper.h index ca8f4b02b6..5f51ccc964 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -140,7 +140,7 @@ CC_SET_FASTPATH(const struct rb_callcache *cc, vm_call_handler func, bool enable #if VM_CHECK_MODE > 0 #define SETUP_CANARY() \ - VALUE *canary; \ + VALUE *canary = 0; \ if (leaf) { \ canary = GET_SP(); \ SET_SV(vm_stack_canary); \ -- cgit v1.2.1