[Python-checkins] r71328 - python/branches/py3k-short-float-repr/Python/dtoa.c
mark.dickinson
python-checkins at python.org
Mon Apr 6 23:52:21 CEST 2009
Author: mark.dickinson
Date: Mon Apr 6 23:52:20 2009
New Revision: 71328
Log:
Silence a compiler warning from gcc
Modified:
python/branches/py3k-short-float-repr/Python/dtoa.c
Modified: python/branches/py3k-short-float-repr/Python/dtoa.c
==============================================================================
--- python/branches/py3k-short-float-repr/Python/dtoa.c (original)
+++ python/branches/py3k-short-float-repr/Python/dtoa.c Mon Apr 6 23:52:20 2009
@@ -1164,6 +1164,8 @@
/* Compare b/d with s0 */
+ assert(nd > 0);
+ dd = 9999; /* silence gcc compiler warning */
for(i = 0; i < nd0; ) {
if ((dd = s0[i++] - '0' - dig))
goto ret;
More information about the Python-checkins
mailing list