aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-30 20:27:52 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-30 20:27:52 +0000
commitaf2bfac984a6a1e232f88901f3b99a0898aedf54 (patch)
treeccd0323b2fea0cbbcf08a3794492b43ed2b2f198 /include
parent9e90fd848874d95094a518e5579a22292d498280 (diff)
downloadruby-af2bfac984a6a1e232f88901f3b99a0898aedf54.tar.gz
* include/ruby/util.h: remove a warning suppression C4723
(potential divide by zero) for VisualC++. It's meaningless. Before r26197, there is ruby_div0() in this place and it actually made divide by zero. But now it's just garbage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/util.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/ruby/util.h b/include/ruby/util.h
index 10cccb4876..e9343b3390 100644
--- a/include/ruby/util.h
+++ b/include/ruby/util.h
@@ -80,14 +80,6 @@ double ruby_strtod(const char *, char **);
#undef strtod
#define strtod(s,e) ruby_strtod((s),(e))
-#if defined _MSC_VER && _MSC_VER >= 1300
-#pragma warning(push)
-#pragma warning(disable:4723)
-#endif
-#if defined _MSC_VER && _MSC_VER >= 1300
-#pragma warning(pop)
-#endif
-
void ruby_each_words(const char *, void (*)(const char*, int, void*), void *);
RUBY_SYMBOL_EXPORT_END