From: Mark Wooding Date: Tue, 22 Oct 2019 10:27:12 +0000 (+0100) Subject: buffer.c: Delete pointless initialization. X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/commitdiff_plain/a4b7d4bfaae82c990a17d46e4f689bc957cceda4 buffer.c: Delete pointless initialization. The variable `cobj' will be set by `PyArg_ParseTuple' anyway. --- diff --git a/buffer.c b/buffer.c index 59eaec6..245ce8f 100644 --- a/buffer.c +++ b/buffer.c @@ -184,7 +184,7 @@ end: static PyObject *rbmeth_getecptraw(PyObject *me, PyObject *arg) { - PyTypeObject *cobj = ecpt_pytype; + PyTypeObject *cobj; ec pt = EC_INIT; if (!PyArg_ParseTuple(arg, "O!:getecptraw", eccurve_pytype, &cobj)) goto end;