[Python-checkins] r71650 - python/branches/py3k-short-float-repr/Python/pystrtod.c

mark.dickinson python-checkins at python.org
Thu Apr 16 17:01:02 CEST 2009


Author: mark.dickinson
Date: Thu Apr 16 17:01:01 2009
New Revision: 71650

Log:
Silence compiler warning


Modified:
   python/branches/py3k-short-float-repr/Python/pystrtod.c

Modified: python/branches/py3k-short-float-repr/Python/pystrtod.c
==============================================================================
--- python/branches/py3k-short-float-repr/Python/pystrtod.c	(original)
+++ python/branches/py3k-short-float-repr/Python/pystrtod.c	Thu Apr 16 17:01:01 2009
@@ -648,7 +648,7 @@
 		   int use_alt_formatting, char **float_strings, int *type)
 {
 	char *buf = NULL;
-	char *p;
+	char *p = NULL;
 	Py_ssize_t bufsize = 0;
 	char *digits, *digits_end;
 	int decpt_as_int, sign, exp_len, exp = 0, use_exp = 0;


More information about the Python-checkins mailing list