[Python-checkins] python/dist/src/Python exceptions.c,1.43,1.44

doerwalter@users.sourceforge.net doerwalter@users.sourceforge.net
Mon, 24 Feb 2003 07:33:35 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv7765/Python

Modified Files:
	exceptions.c 
Log Message:
Remove unused variables.


Index: exceptions.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/exceptions.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** exceptions.c	31 Jan 2003 18:33:18 -0000	1.43
--- exceptions.c	24 Feb 2003 15:33:31 -0000	1.44
***************
*** 1228,1232 ****
      PyObject *encodingObj = NULL;
      PyObject *objectObj = NULL;
-     int length;
      int start;
      int end;
--- 1228,1231 ----
***************
*** 1243,1248 ****
  	goto error;
  
-     length = PyUnicode_GET_SIZE(objectObj);
- 
      if (PyUnicodeEncodeError_GetStart(self, &start))
  	goto error;
--- 1242,1245 ----
***************
*** 1308,1312 ****
      PyObject *encodingObj = NULL;
      PyObject *objectObj = NULL;
-     int length;
      int start;
      int end;
--- 1305,1308 ----
***************
*** 1323,1328 ****
  	goto error;
  
-     length = PyString_GET_SIZE(objectObj);
- 
      if (PyUnicodeDecodeError_GetStart(self, &start))
  	goto error;
--- 1319,1322 ----
***************
*** 1424,1428 ****
  {
      PyObject *objectObj = NULL;
-     int length;
      int start;
      int end;
--- 1418,1421 ----
***************
*** 1435,1440 ****
      if (!(objectObj = PyUnicodeTranslateError_GetObject(self)))
  	goto error;
- 
-     length = PyUnicode_GET_SIZE(objectObj);
  
      if (PyUnicodeTranslateError_GetStart(self, &start))
--- 1428,1431 ----