mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-132775: Fix Recently Introduced Warnings (gh-134530)
This commit is contained in:
parent
484e00379b
commit
ac06b534ee
3 changed files with 4 additions and 2 deletions
|
@ -1772,7 +1772,7 @@ queuesmod_get_queue_defaults(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
}
|
||||
int64_t qid = qidarg.id;
|
||||
|
||||
struct _queuedefaults defaults;
|
||||
struct _queuedefaults defaults = {0};
|
||||
int err = queue_get_defaults(&_globals.queues, qid, &defaults);
|
||||
if (handle_queue_error(err, self, qid)) {
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue