summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-03-06 01:06:01 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-03-06 01:06:01 (GMT)
commit0d03478b88747d25dd6198d0573e3d63caee6c0e (patch)
tree01350efa94d5bcd9ef984692fb088efc1dcc26fd
parentb1f7f6343b2098d69ee421032b1feb4e6ebc7c73 (diff)
downloadcpython-0d03478b88747d25dd6198d0573e3d63caee6c0e.zip
cpython-0d03478b88747d25dd6198d0573e3d63caee6c0e.tar.gz
cpython-0d03478b88747d25dd6198d0573e3d63caee6c0e.tar.bz2
Remove an unused variable
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b756afc..5c10713 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -3935,7 +3935,6 @@ PyUnicode_ReadChar(PyObject *unicode, Py_ssize_t index)
int
PyUnicode_WriteChar(PyObject *unicode, Py_ssize_t index, Py_UCS4 ch)
{
- Py_UCS4 maxchar;
if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) {
PyErr_BadArgument();
return -1;