PyUnicode_AsUTF8String(): /F picks up what I missed: the local var

`str' is no longer necessary.  Gotta turn on -Wall!
This commit is contained in:
Barry Warsaw 2000-08-18 19:30:40 +00:00
parent 0888ff17bd
commit ce4dc41b1a
1 changed files with 0 additions and 2 deletions

View 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;