summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-01 14:30:50 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-01 14:30:50 (GMT)
commitd63e504d333fc325ed4d7951fcfc2afb3d5aa910 (patch)
tree58f6795e688274318a5c5499437f2f0e2e271c1b /Modules
parentacee69faf8b8d7be7ace312d13632c2752640152 (diff)
downloadcpython-d63e504d333fc325ed4d7951fcfc2afb3d5aa910.zip
cpython-d63e504d333fc325ed4d7951fcfc2afb3d5aa910.tar.gz
cpython-d63e504d333fc325ed4d7951fcfc2afb3d5aa910.tar.bz2
Remove unused variable and call to PyModule_GetDict().
Diffstat (limited to 'Modules')
-rw-r--r--Modules/shamodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/shamodule.c b/Modules/shamodule.c
index f33f907..bb9d37a 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 */