mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Make new gcc -Wall happy
This commit is contained in:
parent
1109fbca76
commit
730806d3d9
11 changed files with 45 additions and 23 deletions
|
@ -2745,8 +2745,9 @@ build_class(methods, bases, name)
|
|||
callable, args);
|
||||
Py_DECREF(args);
|
||||
}
|
||||
if (callable != basetype)
|
||||
if (callable != basetype) {
|
||||
Py_DECREF(callable);
|
||||
}
|
||||
return newclass;
|
||||
}
|
||||
PyErr_SetString(PyExc_TypeError,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue