Commit b96bc87f authored by Jeremy Hylton's avatar Jeremy Hylton

SF patch 103543 from tg@freebsd.org:

PyFPE_END_PROTECT() was called on undefined var
parent de3c25ec
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment