https://github.com/python/cpython/commit/cad3745b87ae85285a08ad8abd60cf10a59985b5
commit: cad3745b87ae85285a08ad8abd60cf10a59985b5
branch: main
author: Eric Snow <[email protected]>
committer: ericsnowcurrently <[email protected]>
date: 2024-03-02T00:28:05Z
summary:
gh-116102: Silence a Compiler Warning in _xxinterpqueues (gh-116230)
files:
M Modules/_xxinterpqueuesmodule.c
diff --git a/Modules/_xxinterpqueuesmodule.c b/Modules/_xxinterpqueuesmodule.c
index 21ba817785cdfe..e35d1699cfea89 100644
--- a/Modules/_xxinterpqueuesmodule.c
+++ b/Modules/_xxinterpqueuesmodule.c
@@ -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);
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]