From 6b8e06a5b984ea26e64b9dfeb51c24a66638c9d5 Mon Sep 17 00:00:00 2001 From: Tatsuhiko Kubo Date: Fri, 29 Aug 2014 02:22:55 +0900 Subject: Remove unused macro. OutOfRange() is no longer used. --- src/string.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/string.c b/src/string.c index 84e92df37..7387358fc 100644 --- a/src/string.c +++ b/src/string.c @@ -2059,9 +2059,6 @@ mrb_cstr_to_dbl(mrb_state *mrb, const char * p, mrb_bool badcheck) double d; enum {max_width = 20}; -#define OutOfRange() (((w = end - p) > max_width) ? \ - (w = max_width, ellipsis = "...") : \ - (w = (int)(end - p), ellipsis = "")) if (!p) return 0.0; while (ISSPACE(*p)) p++; -- cgit v1.2.3