summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variable.c b/src/variable.c
index 4eb428a25..9ffc2ac92 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -872,7 +872,7 @@ mrb_vm_const_get(mrb_state *mrb, mrb_sym sym)
if (!c) c = mrb->ci->target_class;
if (c) {
- struct RClass *c2 = c;
+ struct RClass *c2;
mrb_value v;
if (c->iv && iv_get(mrb, c->iv, sym, &v)) {