summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-08 06:13:37 (GMT)
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-08 06:13:37 (GMT)
commite474c189da8314f44659eadcbf9ca3c7d4393bfb (patch)
tree9b57a10fd42d0ea622ac8f21999e30bd04790e27 /class.c
parent3b1029f89417c10cf1293e1106780d1f3263d9f4 (diff)
Suppress -Wswitch warnings
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;
}
}