Skip to content

Commit cad3745

Browse files
gh-116102: Silence a Compiler Warning in _xxinterpqueues (gh-116230)
1 parent fb5e034 commit cad3745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_xxinterpqueuesmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ queuesmod_get(PyObject *self, PyObject *args, PyObject *kwds)
14171417
int64_t qid = qidarg.id;
14181418

14191419
PyObject *obj = NULL;
1420-
int fmt;
1420+
int fmt = 0;
14211421
int err = queue_get(&_globals.queues, qid, &obj, &fmt);
14221422
if (err == ERR_QUEUE_EMPTY && dflt != NULL) {
14231423
assert(obj == NULL);

0 commit comments

Comments
 (0)