diff options
author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:08:38 +0000 |
---|---|---|
committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:08:38 +0000 |
commit | d69dfa4b9f58e2148f986e0ef5dba91f00c2f639 (patch) | |
tree | c86c9f2955005a0c78c9ea5f0e181a0ddf8980a6 /ext/standard/math.c | |
parent | 261f0c32a59ba9ecc59f36536ea27bdfdead0939 (diff) | |
download | php-git-d69dfa4b9f58e2148f986e0ef5dba91f00c2f639.tar.gz |
MFH: initialize optional vars
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r-- | ext/standard/math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c index ac9c206437..eec6797862 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -1040,7 +1040,7 @@ PHPAPI char *_php_math_number_format(double d, int dec, char dec_point, char tho PHP_FUNCTION(number_format) { double num; - long dec; + long dec = 0; char *thousand_sep = NULL, *dec_point = NULL; char thousand_sep_chr = ',', dec_point_chr = '.'; int thousand_sep_len = 0, dec_point_len = 0; |