summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-11 21:53:34 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-11 21:53:34 (GMT)
commit06fdd2d9e86e4f97be482314f2ac0b2842ba8600 (patch)
treea93bfe2ef49c018c8f91a1f3f1e3e0d9d453c2a0
parent4747a18ef948c2a38529b4a5a15e1bae1ee0b7f9 (diff)
downloadcpython-06fdd2d9e86e4f97be482314f2ac0b2842ba8600.zip
cpython-06fdd2d9e86e4f97be482314f2ac0b2842ba8600.tar.gz
cpython-06fdd2d9e86e4f97be482314f2ac0b2842ba8600.tar.bz2
Another gcc -Wall warning squashed:
MPZ_divm(): Initialize mpzden to NULL, since it could be Py_XDECREF()ed without being initialized.
-rw-r--r--Modules/mpzmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mpzmodule.c b/Modules/mpzmodule.c
index 44349e9..2cce2cc 100644
--- a/Modules/mpzmodule.c
+++ b/Modules/mpzmodule.c
@@ -1209,7 +1209,7 @@ static PyObject *
MPZ_divm(PyObject *self, PyObject *args)
{
PyObject *num, *den, *mod;
- mpzobject *mpznum, *mpzden, *mpzmod = NULL;
+ mpzobject *mpznum, *mpzden = NULL, *mpzmod = NULL;
mpzobject *z = NULL;