mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -902,7 +902,7 @@ subtype_dealloc(PyObject *self)
|
|||
|
||||
/* Find the nearest base with a different tp_dealloc */
|
||||
base = type;
|
||||
while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
|
||||
while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
|
||||
base = base->tp_base;
|
||||
assert(base);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue