]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
PyUnicode_AsUTF8String(): /F picks up what I missed: the local var
authorBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 19:30:40 +0000 (19:30 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 19:30:40 +0000 (19:30 +0000)
`str' is no longer necessary.  Gotta turn on -Wall!

Objects/unicodeobject.c

index 1d35c3d3805ff02d5a1366b10c5303f6cd891cfe..11146ff0dd8e7bfeac7ecac731fbc9ff8dceff8e 100644 (file)
@@ -901,8 +901,6 @@ PyObject *PyUnicode_EncodeUTF8(const Py_UNICODE *s,
 
 PyObject *PyUnicode_AsUTF8String(PyObject *unicode)
 {
-    PyObject *str;
-    
     if (!PyUnicode_Check(unicode)) {
         PyErr_BadArgument();
         return NULL;