Kaydet (Commit) 3e2e368f authored tarafından Benjamin Peterson's avatar Benjamin Peterson

avoid unitialized memory

üst 35a8f0de
...@@ -3576,7 +3576,7 @@ static int ...@@ -3576,7 +3576,7 @@ static int
split_py_long_to_s_and_ns(PyObject *py_long, time_t *s, long *ns) split_py_long_to_s_and_ns(PyObject *py_long, time_t *s, long *ns)
{ {
int result = 0; int result = 0;
PyObject *divmod; PyObject *divmod = NULL;
divmod = PyNumber_Divmod(py_long, billion); divmod = PyNumber_Divmod(py_long, billion);
if (!divmod) if (!divmod)
goto exit; goto exit;
......
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