diff Python/pystrtod.c @ 86357:7396d10405db

Re #18521: remove assignments of variables that are immediately reassigned.
author Georg Brandl <georg@python.org>
date Mon, 14 Oct 2013 06:51:46 +0200
parents 5a72adc7c8f7
children
line wrap: on
line diff
--- a/Python/pystrtod.c	Mon Oct 14 06:46:12 2013 +0200
+++ b/Python/pystrtod.c	Mon Oct 14 06:51:46 2013 +0200
@@ -164,7 +164,7 @@
 _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;