avoid unitialized memory

This commit is contained in:
Benjamin Peterson 2012-05-04 01:14:03 -04:00
parent 35a8f0dee5
commit 3e2e368f3b

View file

@ -3576,7 +3576,7 @@ static int
split_py_long_to_s_and_ns(PyObject *py_long, time_t *s, long *ns)
{
int result = 0;
PyObject *divmod;
PyObject *divmod = NULL;
divmod = PyNumber_Divmod(py_long, billion);
if (!divmod)
goto exit;