[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.59,2.60

Barry Warsaw python-dev@python.org
Fri, 18 Aug 2000 12:30:43 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv26020

Modified Files:
	unicodeobject.c 
Log Message:
PyUnicode_AsUTF8String(): /F picks up what I missed: the local var
`str' is no longer necessary.  Gotta turn on -Wall!


Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.59
retrieving revision 2.60
diff -C2 -r2.59 -r2.60
*** unicodeobject.c	2000/08/18 06:58:15	2.59
--- unicodeobject.c	2000/08/18 19:30:40	2.60
***************
*** 902,907 ****
  PyObject *PyUnicode_AsUTF8String(PyObject *unicode)
  {
-     PyObject *str;
-     
      if (!PyUnicode_Check(unicode)) {
          PyErr_BadArgument();
--- 902,905 ----