diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-29 11:56:05 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-29 11:56:05 +0900 |
| commit | 56384139a842f5ffd0ed9609d81fde53050549da (patch) | |
| tree | 52ab38fe5392781c972e1f73c9fa1474e9c7be57 /src/string.c | |
| parent | a3c34c165b7ac73ad5559eda39335ae4fa142056 (diff) | |
| parent | 6b8e06a5b984ea26e64b9dfeb51c24a66638c9d5 (diff) | |
| download | mruby-56384139a842f5ffd0ed9609d81fde53050549da.tar.gz mruby-56384139a842f5ffd0ed9609d81fde53050549da.zip | |
Merge pull request #2573 from cubicdaiya/issues/remove_unused_macro
Remove unused macro.
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 3 |
1 files changed, 0 insertions, 3 deletions
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++; |
