summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-09-28 12:51:53 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-09-28 12:51:53 +0900
commit36d1bb720c72eba2a3574a4ea721ed8a6207d39f (patch)
tree78bdb3224c4071e00474bca129722d1e640e5995 /sprintf.c
parentee7c260b6023f5152560744125b6ea532a778b01 (diff)
sprintf.c: Removed conflicting definition
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sprintf.c b/sprintf.c
index ce4ead8396..62b7503d98 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -994,10 +994,6 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec)
#endif
#define lower_hexdigits (ruby_hexdigits+0)
#define upper_hexdigits (ruby_hexdigits+16)
-#if defined RUBY_USE_SETJMPEX && RUBY_USE_SETJMPEX
-# undef MAYBE_UNUSED
-# define MAYBE_UNUSED(x) x = 0
-#endif
#include "vsnprintf.c"
static char *