diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-01 23:53:05 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-01 23:53:05 (GMT) |
commit | 2492a20579ab1b395d2d3a65b2f9922eb86f9021 (patch) | |
tree | 2ca202fa9e9fca4ff677ac2c0070c327c8b66be6 /Objects/floatobject.c | |
parent | 42dd01add5cc53dc5a5eab46b04b44c8ef6c969f (diff) | |
download | cpython-2492a20579ab1b395d2d3a65b2f9922eb86f9021.zip cpython-2492a20579ab1b395d2d3a65b2f9922eb86f9021.tar.gz cpython-2492a20579ab1b395d2d3a65b2f9922eb86f9021.tar.bz2 |
SF patch 103543 from tg@freebsd.org:
PyFPE_END_PROTECT() was called on undefined var
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 5e646b9..2f1cbdf 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -278,7 +278,7 @@ convert_to_double(PyObject **v, else if (PyLong_Check(obj)) { PyFPE_START_PROTECT("convert_to_double", {*v=NULL;return -1;}) *dbl = PyLong_AsDouble(obj); - PyFPE_END_PROTECT(result) + PyFPE_END_PROTECT(*dbl) } else { Py_INCREF(Py_NotImplemented); |