summaryrefslogtreecommitdiff
path: root/Modules/mpzmodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-11 21:53:34 +0000
committerFred Drake <fdrake@acm.org>2000-10-11 21:53:34 +0000
commit06fdd2d9e86e4f97be482314f2ac0b2842ba8600 (patch)
treea93bfe2ef49c018c8f91a1f3f1e3e0d9d453c2a0 /Modules/mpzmodule.c
parent4747a18ef948c2a38529b4a5a15e1bae1ee0b7f9 (diff)
downloadcpython-git-06fdd2d9e86e4f97be482314f2ac0b2842ba8600.tar.gz
Another gcc -Wall warning squashed:
MPZ_divm(): Initialize mpzden to NULL, since it could be Py_XDECREF()ed without being initialized.
Diffstat (limited to 'Modules/mpzmodule.c')
-rw-r--r--Modules/mpzmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mpzmodule.c b/Modules/mpzmodule.c
index 44349e9357..2cce2ccf94 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;