summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-03 12:39:11 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-03 12:39:11 +0000
commit5ceeea4da1179193c2c7ddcebfd67019128473e3 (patch)
tree7220ae8c120c77e7b1d69ae8bfc517e3b4816cfb /ext/bigdecimal/bigdecimal.c
parent888cdf605c7a692bd8679843975e2227a04659c7 (diff)
ext/bigdecimal/bigdecimal.c: drop unused function
This has been unused since r66124. cc: @mrkn git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r--ext/bigdecimal/bigdecimal.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index c5882608857..d67776b0b2f 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -3687,19 +3687,13 @@ VpSetRoundMode(unsigned short n)
/*
* 0.0 & 1.0 generator
- * These gZero_..... and gOne_..... can be any name
- * referenced from nowhere except Zero() and One().
- * gZero_..... and gOne_..... must have global scope
+ * These gOne_..... can be any name
+ * referenced from nowhere except One().
+ * gOne_..... must have global scope
* (to let the compiler know they may be changed in outside
* (... but not actually..)).
*/
-volatile const double gZero_ABCED9B1_CE73__00400511F31D = 0.0;
-volatile const double gOne_ABCED9B4_CE73__00400511F31D = 1.0;
-static double
-Zero(void)
-{
- return gZero_ABCED9B1_CE73__00400511F31D;
-}
+volatile const double gOne_ABCED9B4_CE73__00400511F31D = 1.0;
static double
One(void)