summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
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); \