]> granicus.if.org Git - python/commitdiff
Remove unused variable and call to PyModule_GetDict().
authorFred Drake <fdrake@acm.org>
Mon, 1 Apr 2002 14:30:50 +0000 (14:30 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 1 Apr 2002 14:30:50 +0000 (14:30 +0000)
Modules/shamodule.c

index f33f9074e7aa58df7d37daecc09b692b4006892b..bb9d37a485de822d17b8f4dfcf7cd22f9cfc2578 100644 (file)
@@ -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 */