diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-05-28 23:14:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 23:14:33 (GMT) |
commit | 1a672a5908736e44a8a25a99b3a116b085f12aa8 (patch) | |
tree | e204ea232efbc8aa853cb041f3b8ac12f4f2adb3 | |
parent | 7e6f2375698036d62464c238059ef2073755fdaf (diff) | |
download | cpython-1a672a5908736e44a8a25a99b3a116b085f12aa8.zip cpython-1a672a5908736e44a8a25a99b3a116b085f12aa8.tar.gz cpython-1a672a5908736e44a8a25a99b3a116b085f12aa8.tar.bz2 |
bpo-44206: Fix compiler warnings in dictobject.c (GH-26440)
-rw-r--r-- | Objects/dictobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 47b69c8..65718c2 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -1316,7 +1316,7 @@ PyDict_GetItem(PyObject *op, PyObject *key) /* Preserve the existing exception */ PyObject *exc_type, *exc_value, *exc_tb; PyObject *value; - Py_ssize_t ix; + Py_ssize_t ix; (void)ix; _PyErr_Fetch(tstate, &exc_type, &exc_value, &exc_tb); ix = _Py_dict_lookup(mp, key, hash, &value); @@ -1374,7 +1374,7 @@ _PyDict_GetItemHint(PyDictObject *mp, PyObject *key, PyObject * _PyDict_GetItem_KnownHash(PyObject *op, PyObject *key, Py_hash_t hash) { - Py_ssize_t ix; + Py_ssize_t ix; (void)ix; PyDictObject *mp = (PyDictObject *)op; PyObject *value; @@ -1395,7 +1395,7 @@ _PyDict_GetItem_KnownHash(PyObject *op, PyObject *key, Py_hash_t hash) PyObject * PyDict_GetItemWithError(PyObject *op, PyObject *key) { - Py_ssize_t ix; + Py_ssize_t ix; (void)ix; Py_hash_t hash; PyDictObject*mp = (PyDictObject *)op; PyObject *value; |