]> granicus.if.org Git - python/commitdiff
Remove unused local variable.
authorThomas Heller <theller@ctypes.org>
Wed, 11 Jul 2007 13:57:16 +0000 (13:57 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 11 Jul 2007 13:57:16 +0000 (13:57 +0000)
Objects/object.c

index ee4f5821b6866120f752756a6a588e14e2c81ecb..3583bca6c48e3a57c03879529acf123b738b8580 100644 (file)
@@ -398,7 +398,6 @@ PyObject *
 _PyObject_Str(PyObject *v)
 {
        PyObject *res;
-       int type_ok;
        if (v == NULL)
                return PyString_FromString("<NULL>");
        if (PyString_CheckExact(v)) {