summaryrefslogtreecommitdiff
path: root/ext/sdbm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sdbm/init.c')
-rw-r--r--ext/sdbm/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index 77b27afe5b8..2dfd17196c1 100644
--- a/ext/sdbm/init.c
+++ b/ext/sdbm/init.c
@@ -273,9 +273,7 @@ fdbm_modify(obj)
VALUE obj;
{
rb_secure(4);
- if (OBJ_FROZEN_P(obj)) {
- if (OBJ_FROZEN(obj)) rb_error_frozen("SDBM");
- }
+ if (OBJ_FROZEN(obj)) rb_error_frozen("SDBM");
}
static VALUE