summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-18 14:02:06 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-03-18 14:02:06 (GMT)
commit0c39b1b970b5a12faa3d438f7fc7f71f293a0a44 (patch)
tree3e6f3534968ee83cf69cfc995134e2d3023078ad /Python/bltinmodule.c
parent938b0b9feef243ef1085ce10d91994d7a70f3818 (diff)
downloadcpython-0c39b1b970b5a12faa3d438f7fc7f71f293a0a44.zip
cpython-0c39b1b970b5a12faa3d438f7fc7f71f293a0a44.tar.gz
cpython-0c39b1b970b5a12faa3d438f7fc7f71f293a0a44.tar.bz2
Initialize variables to prevent GCC warnings
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index f9bb388..4f61d1e 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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)) {