[Python-checkins] r62426 - python/trunk/Modules/mathmodule.c
mark.dickinson
python-checkins at python.org
Mon Apr 21 03:55:50 CEST 2008
Author: mark.dickinson
Date: Mon Apr 21 03:55:50 2008
New Revision: 62426
Log:
Silence 'r may be used uninitialized' compiler warning.
Modified:
python/trunk/Modules/mathmodule.c
Modified: python/trunk/Modules/mathmodule.c
==============================================================================
--- python/trunk/Modules/mathmodule.c (original)
+++ python/trunk/Modules/mathmodule.c Mon Apr 21 03:55:50 2008
@@ -569,6 +569,7 @@
/* deal directly with IEEE specials, to cope with problems on various
platforms whose semantics don't exactly match C99 */
+ r = 0.; /* silence compiler warning */
if (!Py_IS_FINITE(x) || !Py_IS_FINITE(y)) {
errno = 0;
if (Py_IS_NAN(x))
More information about the Python-checkins
mailing list