0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 00:38:00 +01:00

gh-116102: Silence a Compiler Warning in _xxinterpqueues (gh-116230)

This commit is contained in:
Eric Snow 2024-03-01 17:28:05 -07:00 committed by GitHub
parent fb5e0344e4
commit cad3745b87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1417,7 +1417,7 @@ queuesmod_get(PyObject *self, PyObject *args, PyObject *kwds)
int64_t qid = qidarg.id;
PyObject *obj = NULL;
int fmt;
int fmt = 0;
int err = queue_get(&_globals.queues, qid, &obj, &fmt);
if (err == ERR_QUEUE_EMPTY && dflt != NULL) {
assert(obj == NULL);