[Python-checkins] CVS: python/dist/src/Modules shamodule.c,2.17,2.18

Fred L. Drake fdrake@users.sourceforge.net
Mon, 01 Apr 2002 06:30:52 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv30022

Modified Files:
	shamodule.c 
Log Message:
Remove unused variable and call to PyModule_GetDict().

Index: shamodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/shamodule.c,v
retrieving revision 2.17
retrieving revision 2.18
diff -C2 -d -r2.17 -r2.18
*** shamodule.c	8 Dec 2001 18:02:58 -0000	2.17
--- shamodule.c	1 Apr 2002 14:30:50 -0000	2.18
***************
*** 530,534 ****
  initsha(void)
  {
!     PyObject *d, *m;
  
      SHAtype.ob_type = &PyType_Type;
--- 530,534 ----
  initsha(void)
  {
!     PyObject *m;
  
      SHAtype.ob_type = &PyType_Type;
***************
*** 536,540 ****
  
      /* 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
--- 536,539 ----