diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 22:28:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 22:28:17 +0000 |
commit | b188d19ee080e954b9a86c746d0c0ee4068266c1 (patch) | |
tree | 46c9ef37a15b99b7d462da3dca4a8a56fd524e8b /util.c | |
parent | f3e35474078895e1d178e15cfbfc6743f9ffc62d (diff) | |
download | ruby-b188d19ee080e954b9a86c746d0c0ee4068266c1.tar.gz |
* util.c (ruby_strtod): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2175,11 +2175,12 @@ break2: break; } } while ('0' <= c && c <= '9'); + nd0 += nd * dsign; } else { if (dsign) goto ret0; } - dval(rv) = ldexp(adj, nd * dsign + nd0); + dval(rv) = ldexp(adj, nd0); goto ret; } nz0 = 1; |