aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authorKenta Murata <mrkn@users.noreply.github.com>2020-05-22 13:49:08 +0900
committerGitHub <noreply@github.com>2020-05-22 13:49:08 +0900
commitf4f157fc81b940c0f76a01ee266a08e6bba69b6b (patch)
tree357dca6cd03b7cdab65066c6bdfca03d8f5444e7 /vm_insnhelper.h
parentac395754c7a0d082ab118fe4848886fa14467d39 (diff)
downloadruby-f4f157fc81b940c0f76a01ee266a08e6bba69b6b.tar.gz
Suppress warnings no inline ruby debug (#3107)
* Suppress unused warnings occurred due to -fno-inline * Suppress warning occurred due to RUBY_DEBUG=1
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h2
1 files changed, 1 insertions, 1 deletions
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); \