diff options
author | Brett Cannon <bcannon@gmail.com> | 2004-01-27 20:17:54 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2004-01-27 20:17:54 (GMT) |
commit | fb5a4e33fb04fcfe380bc7e5c9e52582b5dbb2da (patch) | |
tree | b92f3197f839450f7075c89ff694d4e8becf1d94 /Objects | |
parent | fcc51767bd45a5fe63bb3f18cf493851d9dc8582 (diff) | |
download | cpython-fb5a4e33fb04fcfe380bc7e5c9e52582b5dbb2da.zip cpython-fb5a4e33fb04fcfe380bc7e5c9e52582b5dbb2da.tar.gz cpython-fb5a4e33fb04fcfe380bc7e5c9e52582b5dbb2da.tar.bz2 |
Removed two unneeded lines from PyObject_Compare().
Closes bug #885293 (thanks, Josiah Carlson).
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c index 5b61d84..b913a06 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -746,7 +746,6 @@ do_cmp(PyObject *v, PyObject *w) int PyObject_Compare(PyObject *v, PyObject *w) { - PyTypeObject *vtp; int result; if (v == NULL || w == NULL) { @@ -755,7 +754,6 @@ PyObject_Compare(PyObject *v, PyObject *w) } if (v == w) return 0; - vtp = v->ob_type; if (Py_EnterRecursiveCall(" in cmp")) return -1; result = do_cmp(v, w); |