[Python-checkins] Fix a compile warning in dictobject.c (GH-16610)

Serhiy Storchaka webhook-mailer at python.org
Mon Oct 7 06:20:10 EDT 2019


https://github.com/python/cpython/commit/ed8efd8e2c993e9d0528ffb875f73e2aefada068
commit: ed8efd8e2c993e9d0528ffb875f73e2aefada068
branch: master
author: Hai Shi <shihai1992 at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2019-10-07T13:20:05+03:00
summary:

Fix a compile warning in dictobject.c (GH-16610)

files:
M Objects/dictobject.c

diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 5c3f1fb3c1a25..164fe2a273b1d 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -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 & */



More information about the Python-checkins mailing list