diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-14 03:20:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-14 03:20:38 +0000 |
commit | 473dbc4e3fd5de34250f2adba5fb2559706548a9 (patch) | |
tree | f51636fb1aca931c58ab06bc73f914a57d59ae8c /missing | |
parent | a91845f5b3ec726e08501cc6597c1788b223cd41 (diff) | |
download | ruby-473dbc4e3fd5de34250f2adba5fb2559706548a9.tar.gz |
* transcode.c (load_transcoder): suppress warning.
* missing/vsnprintf.c (BSD_vfprintf): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r-- | missing/vsnprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/missing/vsnprintf.c b/missing/vsnprintf.c index af9d516f6b..17990a57fc 100644 --- a/missing/vsnprintf.c +++ b/missing/vsnprintf.c @@ -535,10 +535,10 @@ BSD_vfprintf(FILE *fp, const char *fmt0, va_list ap) char sign; /* sign prefix (' ', '+', '-', or \0) */ #ifdef FLOATING_POINT char softsign; /* temporary negative sign for floats */ - double _double; /* double precision arguments %[eEfgG] */ + double _double = 0; /* double precision arguments %[eEfgG] */ int expt; /* integer value of exponent */ - int expsize; /* character count for expstr */ - int ndig; /* actual number of digits returned by cvt */ + int expsize = 0; /* character count for expstr */ + int ndig = 0; /* actual number of digits returned by cvt */ char expstr[7]; /* buffer for exponent string */ #endif u_long ulval; /* integer arguments %[diouxX] */ |