mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
avoid unitialized memory
This commit is contained in:
parent
35a8f0dee5
commit
3e2e368f3b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue