mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
suppress warnings when RUBY_USE_SETJMPEX
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5ba4d948ff
commit
8238987903
2 changed files with 7 additions and 0 deletions
|
@ -1247,6 +1247,10 @@ 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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue