diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2024-03-02 00:28:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-02 00:28:05 (GMT) |
commit | cad3745b87ae85285a08ad8abd60cf10a59985b5 (patch) | |
tree | 3442dd7192a24d92900e322fb1a4a48275509e38 | |
parent | fb5e0344e41788988171f31c6b8d4fd1a13b9041 (diff) | |
download | cpython-cad3745b87ae85285a08ad8abd60cf10a59985b5.zip cpython-cad3745b87ae85285a08ad8abd60cf10a59985b5.tar.gz cpython-cad3745b87ae85285a08ad8abd60cf10a59985b5.tar.bz2 |
gh-116102: Silence a Compiler Warning in _xxinterpqueues (gh-116230)
-rw-r--r-- | Modules/_xxinterpqueuesmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_xxinterpqueuesmodule.c b/Modules/_xxinterpqueuesmodule.c index 21ba817..e35d169 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); |