summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-03 16:39:40 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-03 16:39:40 (GMT)
commit92a419eea42eeb4dc2821d207d9e43fed38acd7f (patch)
tree13eeeb5ab13eb8631fff2f39fcdf80f0e5c3d711 /Objects
parent7341b524afb57b90c7a5e120a60a7b8a9480bdcd (diff)
downloadcpython-92a419eea42eeb4dc2821d207d9e43fed38acd7f.zip
cpython-92a419eea42eeb4dc2821d207d9e43fed38acd7f.tar.gz
cpython-92a419eea42eeb4dc2821d207d9e43fed38acd7f.tar.bz2
Remove now unused variables
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b2279a6..a95a35d 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -2876,10 +2876,6 @@ PyUnicode_AsWideCharString(PyObject *unicode,
PyObject *
PyUnicode_FromOrdinal(int ordinal)
{
- PyObject *v;
- void *data;
- int kind;
-
if (ordinal < 0 || ordinal > MAX_UNICODE) {
PyErr_SetString(PyExc_ValueError,
"chr() arg not in range(0x110000)");
@@ -11330,7 +11326,6 @@ unicode_getitem(PyObject *self, Py_ssize_t index)
void *data;
enum PyUnicode_Kind kind;
Py_UCS4 ch;
- PyObject *res;
if (!PyUnicode_Check(self) || PyUnicode_READY(self) == -1) {
PyErr_BadArgument();