diff options
Diffstat (limited to 'ext/dbm/dbm.c')
-rw-r--r-- | ext/dbm/dbm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c index 1e4fe00fe7..e9e2a6e1e9 100644 --- a/ext/dbm/dbm.c +++ b/ext/dbm/dbm.c @@ -285,9 +285,7 @@ fdbm_modify(obj) VALUE obj; { rb_secure(4); - if (OBJ_FROZEN_P(obj)) { - if (OBJ_FROZEN(obj)) rb_error_frozen("DBM"); - } + if (OBJ_FROZEN(obj)) rb_error_frozen("DBM"); } static VALUE |