[Python-checkins] cpython: Remove an unused variable

victor.stinner python-checkins at python.org
Tue Mar 6 02:06:29 CET 2012


http://hg.python.org/cpython/rev/9aa51342cb73
changeset:   75447:9aa51342cb73
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Mar 06 02:06:01 2012 +0100
summary:
  Remove an unused variable

files:
  Objects/unicodeobject.c |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -3935,7 +3935,6 @@
 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;

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list