gh-132775: Fix Recently Introduced Warnings (gh-134530)

This commit is contained in:
Eric Snow 2025-05-22 11:24:09 -06:00 committed by GitHub
parent 484e00379b
commit ac06b534ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View file

@ -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;