From: Fred Drake Date: Wed, 11 Oct 2000 21:53:34 +0000 (+0000) Subject: Another gcc -Wall warning squashed: X-Git-Tag: v2.0~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06fdd2d9e86e4f97be482314f2ac0b2842ba8600;p=python Another gcc -Wall warning squashed: MPZ_divm(): Initialize mpzden to NULL, since it could be Py_XDECREF()ed without being initialized. --- 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;