]> granicus.if.org Git - python/commitdiff
Fix a compile warning in dictobject.c (GH-16610)
authorHai Shi <shihai1992@gmail.com>
Mon, 7 Oct 2019 10:20:05 +0000 (18:20 +0800)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 7 Oct 2019 10:20:05 +0000 (13:20 +0300)
Objects/dictobject.c

index 5c3f1fb3c1a25e24a4a0d585a6af652b7f8a8ad8..164fe2a273b1d27b027cc4d6f05155d8d14fb4c7 100644 (file)
@@ -4186,7 +4186,6 @@ _PyDictView_Intersect(PyObject* self, PyObject *other)
     Py_ssize_t len_self;
     int rv;
     int (*dict_contains)(_PyDictViewObject *, PyObject *);
-    PyObject *tmp;
 
     /* Python interpreter swaps parameters when dict view
        is on right side of & */