summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-02 09:41:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-02 09:41:47 +0000
commitfe8d1cfdfd50b5ea2116a2b0428fedc7f636dd15 (patch)
tree2c79a9e49497e0d103db92a5065b8683e30776c8 /object.c
parentaeec0f84457d2d5877ca5befaaf30b7e756953f6 (diff)
* variable.c (rb_cvar_set): remove warn argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 854cc67b89..d6c5e32eb5 100644
--- a/object.c
+++ b/object.c
@@ -1793,7 +1793,7 @@ rb_mod_cvar_set(VALUE obj, VALUE iv, VALUE val)
if (!rb_is_class_id(id)) {
rb_name_error(id, "`%s' is not allowed as a class variable name", rb_id2name(id));
}
- rb_cvar_set(obj, id, val, Qfalse);
+ rb_cvar_set(obj, id, val);
return val;
}