From a4b7d4bfaae82c990a17d46e4f689bc957cceda4 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 22 Oct 2019 11:27:12 +0100 Subject: [PATCH] buffer.c: Delete pointless initialization. The variable `cobj' will be set by `PyArg_ParseTuple' anyway. --- buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0