mirror of
https://github.com/python/cpython.git
synced 2025-09-11 03:07:01 +00:00
Initialize variables to prevent GCC warnings
This commit is contained in:
parent
938b0b9fee
commit
0c39b1b970
3 changed files with 25 additions and 18 deletions
|
@ -53,7 +53,7 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
PyObject *func, *name, *bases, *mkw, *meta, *winner, *prep, *ns, *cell;
|
||||
PyObject *cls = NULL;
|
||||
Py_ssize_t nargs;
|
||||
int isclass;
|
||||
int isclass = 0; /* initialize to prevent gcc warning */
|
||||
|
||||
assert(args != NULL);
|
||||
if (!PyTuple_Check(args)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue