From: Eric Snow Date: Sat, 2 Mar 2024 00:28:05 +0000 (-0700) Subject: gh-116102: Silence a Compiler Warning in _xxinterpqueues (gh-116230) X-Git-Tag: v3.13.0a5~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cad3745b87ae85285a08ad8abd60cf10a59985b5;p=thirdparty%2FPython%2Fcpython.git gh-116102: Silence a Compiler Warning in _xxinterpqueues (gh-116230) --- diff --git a/Modules/_xxinterpqueuesmodule.c b/Modules/_xxinterpqueuesmodule.c index 21ba817785cd..e35d1699cfea 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);