Commit ce4dc41b authored by Barry Warsaw's avatar Barry Warsaw

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

`str' is no longer necessary.  Gotta turn on -Wall!
parent 0888ff17
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment