Remove now unused variables

This commit is contained in:
Victor Stinner 2014-01-03 17:39:40 +01:00
parent 7341b524af
commit 92a419eea4
1 changed files with 0 additions and 5 deletions

View File

@ -2876,10 +2876,6 @@ PyUnicode_AsWideCharString(PyObject *unicode,
PyObject * PyObject *
PyUnicode_FromOrdinal(int ordinal) PyUnicode_FromOrdinal(int ordinal)
{ {
PyObject *v;
void *data;
int kind;
if (ordinal < 0 || ordinal > MAX_UNICODE) { if (ordinal < 0 || ordinal > MAX_UNICODE) {
PyErr_SetString(PyExc_ValueError, PyErr_SetString(PyExc_ValueError,
"chr() arg not in range(0x110000)"); "chr() arg not in range(0x110000)");
@ -11330,7 +11326,6 @@ unicode_getitem(PyObject *self, Py_ssize_t index)
void *data; void *data;
enum PyUnicode_Kind kind; enum PyUnicode_Kind kind;
Py_UCS4 ch; Py_UCS4 ch;
PyObject *res;
if (!PyUnicode_Check(self) || PyUnicode_READY(self) == -1) { if (!PyUnicode_Check(self) || PyUnicode_READY(self) == -1) {
PyErr_BadArgument(); PyErr_BadArgument();