summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/variable.c b/variable.c
index d66fa9915b4..41f935dff8d 100644
--- a/variable.c
+++ b/variable.c
@@ -1263,7 +1263,7 @@ rb_const_set(klass, id, val)
ID id;
VALUE val;
{
- return rb_shvar_set(klass, id, val);
+ rb_shvar_set(klass, id, val);
}
void
@@ -1331,7 +1331,7 @@ rb_define_shvar(klass, name, val)
const char *name;
VALUE val;
{
- return rb_define_const(klass, name, val);
+ rb_define_const(klass, name, val);
}
void