Remove unused variable and call to PyModule_GetDict().
This commit is contained in:
parent
acee69faf8
commit
d63e504d33
@ -529,13 +529,12 @@ static struct PyMethodDef SHA_functions[] = {
|
|||||||
DL_EXPORT(void)
|
DL_EXPORT(void)
|
||||||
initsha(void)
|
initsha(void)
|
||||||
{
|
{
|
||||||
PyObject *d, *m;
|
PyObject *m;
|
||||||
|
|
||||||
SHAtype.ob_type = &PyType_Type;
|
SHAtype.ob_type = &PyType_Type;
|
||||||
m = Py_InitModule("sha", SHA_functions);
|
m = Py_InitModule("sha", SHA_functions);
|
||||||
|
|
||||||
/* Add some symbolic constants to the module */
|
/* Add some symbolic constants to the module */
|
||||||
d = PyModule_GetDict(m);
|
|
||||||
insint("blocksize", 1); /* For future use, in case some hash
|
insint("blocksize", 1); /* For future use, in case some hash
|
||||||
functions require an integral number of
|
functions require an integral number of
|
||||||
blocks */
|
blocks */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user