summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
Diffstat (limited to 'range.c')
-rw-r--r--range.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/range.c b/range.c
index b1925e9929..f521c1405d 100644
--- a/range.c
+++ b/range.c
@@ -30,6 +30,7 @@ static VALUE
range_failed()
{
rb_raise(rb_eArgError, "bad value for range");
+ return Qnil; /* dummy */
}
static VALUE