~mdw
/
catacomb-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7085a96
)
buffer.c: Delete pointless initialization.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 22 Oct 2019 10:27:12 +0000
(11:27 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 25 Nov 2019 17:43:08 +0000
(17:43 +0000)
The variable `cobj' will be set by `PyArg_ParseTuple' anyway.
buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/buffer.c
b/buffer.c
index
59eaec6
..
245ce8f
100644
(file)
--- 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;