summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'class.c')
-rw-r--r--class.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/class.c b/class.c
index 597f6bd..cf25ad2 100644
--- a/class.c
+++ b/class.c
@@ -1712,6 +1712,8 @@ singleton_class_of(VALUE obj)
case T_STRING:
if (FL_TEST_RAW(obj, RSTRING_FSTR)) goto no_singleton;
break;
+ default:
+ break;
}
}