Skip to content

Commit 41067ef

Browse files
author
mark.dickinson
committed
Silence 'r may be used uninitialized' compiler warning.
git-svn-id: http://svn.python.org/projects/python/trunk@62426 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent b21f0ec commit 41067ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/mathmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ math_pow(PyObject *self, PyObject *args)
569569

570570
/* deal directly with IEEE specials, to cope with problems on various
571571
platforms whose semantics don't exactly match C99 */
572+
r = 0.; /* silence compiler warning */
572573
if (!Py_IS_FINITE(x) || !Py_IS_FINITE(y)) {
573574
errno = 0;
574575
if (Py_IS_NAN(x))

0 commit comments

Comments
 (0)