summaryrefslogtreecommitdiffstats
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
commit5bae951c1f5f7dadd192f66a22cfb5eb5860c405 (patch)
tree2c79a9e49497e0d103db92a5065b8683e30776c8 /object.c
parent20dbaedaeef1453d809e5cd9a39ccf315d6e252a (diff)
downloadruby-5bae951c1f5f7dadd192f66a22cfb5eb5860c405.tar.gz
ruby-5bae951c1f5f7dadd192f66a22cfb5eb5860c405.tar.xz
ruby-5bae951c1f5f7dadd192f66a22cfb5eb5860c405.zip
* variable.c (rb_cvar_set): remove warn argument.
git-svn-id: http://svn.ruby-lang.org/repos/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 854cc67b8..d6c5e32eb 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;
}