summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/object.c b/object.c
index 6314974e3f..be070a9ac2 100644
--- a/object.c
+++ b/object.c
@@ -598,6 +598,7 @@ static VALUE
rb_class_s_inherited()
{
rb_raise(rb_eTypeError, "can't make subclass of Class");
+ return Qnil; /* dummy */
}
static VALUE