summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-01 14:30:50 +0000
committerFred Drake <fdrake@acm.org>2002-04-01 14:30:50 +0000
commitd63e504d333fc325ed4d7951fcfc2afb3d5aa910 (patch)
tree58f6795e688274318a5c5499437f2f0e2e271c1b
parentacee69faf8b8d7be7ace312d13632c2752640152 (diff)
downloadcpython-git-d63e504d333fc325ed4d7951fcfc2afb3d5aa910.tar.gz
Remove unused variable and call to PyModule_GetDict().
-rw-r--r--Modules/shamodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/shamodule.c b/Modules/shamodule.c
index f33f9074e7..bb9d37a485 100644
--- a/Modules/shamodule.c
+++ b/Modules/shamodule.c
@@ -529,13 +529,12 @@ static struct PyMethodDef SHA_functions[] = {
DL_EXPORT(void)
initsha(void)
{
- PyObject *d, *m;
+ PyObject *m;
SHAtype.ob_type = &PyType_Type;
m = Py_InitModule("sha", SHA_functions);
/* Add some symbolic constants to the module */
- d = PyModule_GetDict(m);
insint("blocksize", 1); /* For future use, in case some hash
functions require an integral number of
blocks */