diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-07 12:38:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-07 12:38:03 +0000 |
commit | 0455e8ea9a6a8d33840249806b03d75ea25820d8 (patch) | |
tree | 160b5c9ddc41c0e4f2e1c0e72fa49ec65569ae9c /util.c | |
parent | 126abc5c47a2467949021b493b2c742828224b30 (diff) | |
download | bundler-0455e8ea9a6a8d33840249806b03d75ea25820d8.tar.gz |
* io.c (rb_f_open), re.c (rb_reg_search), transcode.c (str_transcode):
suppress warnings.
* util.c (quorem, rv_alloc, nrv_alloc): only used in dtoa().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3067,6 +3067,7 @@ ret: return sign ? -dval(rv) : dval(rv); } +#if 0 /* unused right now */ static int quorem(Bigint *b, Bigint *S) { @@ -3177,11 +3178,13 @@ quorem(Bigint *b, Bigint *S) } return q; } +#endif #ifndef MULTIPLE_THREADS static char *dtoa_result; #endif +#if 0 /* unused right now */ static char * rv_alloc(int i) { @@ -3212,6 +3215,7 @@ nrv_alloc(const char *s, char **rve, int n) *rve = t; return rv; } +#endif /* freedtoa(s) must be used to free values s returned by dtoa * when MULTIPLE_THREADS is #defined. It should be used in all cases, |