mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #8914: fix various warnings from the Clang static analyzer v254.
This commit is contained in:
parent
79da6b7075
commit
b94767ff44
36 changed files with 69 additions and 84 deletions
|
|
@ -1461,7 +1461,7 @@ delta_to_microseconds(PyDateTime_Delta *self)
|
|||
goto Done;
|
||||
Py_DECREF(x1);
|
||||
Py_DECREF(x2);
|
||||
x1 = x2 = NULL;
|
||||
/* x1 = */ x2 = NULL;
|
||||
|
||||
/* x3 has days+seconds in seconds */
|
||||
x1 = PyNumber_Multiply(x3, us_per_second); /* us */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue