diff options
author | Georg Brandl <georg@python.org> | 2013-10-14 04:51:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-14 04:51:46 (GMT) |
commit | 6083a4bc1c64b7b07cbfc611f8bf38c75a5eebcf (patch) | |
tree | 7f551184c5cb3362b42b9b4478bf4ad00103b0c7 /Python/pystrtod.c | |
parent | 782952b8fe7fd8b22987e71fd5e21526559540ff (diff) | |
download | cpython-6083a4bc1c64b7b07cbfc611f8bf38c75a5eebcf.zip cpython-6083a4bc1c64b7b07cbfc611f8bf38c75a5eebcf.tar.gz cpython-6083a4bc1c64b7b07cbfc611f8bf38c75a5eebcf.tar.bz2 |
Re #18521: remove assignments of variables that are immediately reassigned.
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r-- | Python/pystrtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c index f8d3b35..b8dd919 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -164,7 +164,7 @@ static double _PyOS_ascii_strtod(const char *nptr, char **endptr) { char *fail_pos; - double val = -1.0; + double val; struct lconv *locale_data; const char *decimal_point; size_t decimal_point_len; |