summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-02 14:35:07 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-02 14:35:07 +0000
commit7fc5fa69f115488cff017965f487b0abc9b77f77 (patch)
tree797ca519d671d5467e899ee591fe6c1bcf10e0c0 /sprintf.c
parent6e959da0712f92653d0dc9ed438398729df3dc50 (diff)
* include/ruby/missing.h, sprintf.c: get rid of a warning of VC++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sprintf.c b/sprintf.c
index 83560de..aebb9d5 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -1084,13 +1084,7 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec)
#undef snprintf
#define FLOATING_POINT 1
#define BSD__dtoa ruby_dtoa
-#if _MSC_VER >= 1300
-#pragma warning(disable: 4273)
-#endif
#include "missing/vsnprintf.c"
-#if _MSC_VER >= 1300
-#pragma warning(default: 4273)
-#endif
static int
ruby__sfvwrite(register rb_printf_buffer *fp, register struct __suio *uio)