Kaydet (Commit) d63e504d authored tarafından Fred Drake's avatar Fred Drake

Remove unused variable and call to PyModule_GetDict().

üst acee69fa
...@@ -529,13 +529,12 @@ static struct PyMethodDef SHA_functions[] = { ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment