summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/variable.c b/variable.c
index 3cd6122..b4af07f 100644
--- a/variable.c
+++ b/variable.c
@@ -873,8 +873,6 @@ rb_ivar_defined(obj, id)
VALUE obj;
ID id;
{
- if (!rb_is_instance_id(id)) return Qfalse;
-
switch (TYPE(obj)) {
case T_OBJECT:
case T_CLASS: