diff options
author | Walter Dörwald <walter@livinglogic.de> | 2003-02-24 15:33:31 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2003-02-24 15:33:31 (GMT) |
commit | b671c0c418b103605e70b31f7e057b299c0962e1 (patch) | |
tree | 7775ee4a46f22eb0a15f5a1102b1afdecbc0b3d5 /Python/exceptions.c | |
parent | 0c44c0477bf1e6e00c15f6d316e293e56d057e40 (diff) | |
download | cpython-b671c0c418b103605e70b31f7e057b299c0962e1.zip cpython-b671c0c418b103605e70b31f7e057b299c0962e1.tar.gz cpython-b671c0c418b103605e70b31f7e057b299c0962e1.tar.bz2 |
Remove unused variables.
Diffstat (limited to 'Python/exceptions.c')
-rw-r--r-- | Python/exceptions.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Python/exceptions.c b/Python/exceptions.c index 0080694..f8e330f 100644 --- a/Python/exceptions.c +++ b/Python/exceptions.c @@ -1227,7 +1227,6 @@ UnicodeEncodeError__str__(PyObject *self, PyObject *arg) { PyObject *encodingObj = NULL; PyObject *objectObj = NULL; - int length; int start; int end; PyObject *reasonObj = NULL; @@ -1242,8 +1241,6 @@ UnicodeEncodeError__str__(PyObject *self, PyObject *arg) if (!(objectObj = PyUnicodeEncodeError_GetObject(self))) goto error; - length = PyUnicode_GET_SIZE(objectObj); - if (PyUnicodeEncodeError_GetStart(self, &start)) goto error; @@ -1307,7 +1304,6 @@ UnicodeDecodeError__str__(PyObject *self, PyObject *arg) { PyObject *encodingObj = NULL; PyObject *objectObj = NULL; - int length; int start; int end; PyObject *reasonObj = NULL; @@ -1322,8 +1318,6 @@ UnicodeDecodeError__str__(PyObject *self, PyObject *arg) if (!(objectObj = PyUnicodeDecodeError_GetObject(self))) goto error; - length = PyString_GET_SIZE(objectObj); - if (PyUnicodeDecodeError_GetStart(self, &start)) goto error; @@ -1423,7 +1417,6 @@ static PyObject * UnicodeTranslateError__str__(PyObject *self, PyObject *arg) { PyObject *objectObj = NULL; - int length; int start; int end; PyObject *reasonObj = NULL; @@ -1435,8 +1428,6 @@ UnicodeTranslateError__str__(PyObject *self, PyObject *arg) if (!(objectObj = PyUnicodeTranslateError_GetObject(self))) goto error; - length = PyUnicode_GET_SIZE(objectObj); - if (PyUnicodeTranslateError_GetStart(self, &start)) goto error; |