diff options
author | Barry Warsaw <barry@python.org> | 2000-08-18 19:30:40 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-08-18 19:30:40 (GMT) |
commit | ce4dc41b1a2be5b5335bcbc0865b145852a5c0e5 (patch) | |
tree | d8ed3e816a5bde1994710f8557c3a79352aa19c2 /Objects | |
parent | 0888ff17bd745333dc61a0e4bb3afb399f007c3f (diff) | |
download | cpython-ce4dc41b1a2be5b5335bcbc0865b145852a5c0e5.zip cpython-ce4dc41b1a2be5b5335bcbc0865b145852a5c0e5.tar.gz cpython-ce4dc41b1a2be5b5335bcbc0865b145852a5c0e5.tar.bz2 |
PyUnicode_AsUTF8String(): /F picks up what I missed: the local var
`str' is no longer necessary. Gotta turn on -Wall!
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 1d35c3d..11146ff 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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; |