mirror of
https://github.com/python/cpython.git
synced 2025-08-26 03:34:43 +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
|
@ -1795,6 +1795,7 @@ typedef struct _sharednsitem {
|
|||
// in a different interpreter to release the XI data.
|
||||
} _PyXI_namespace_item;
|
||||
|
||||
#ifndef NDEBUG
|
||||
static int
|
||||
_sharednsitem_is_initialized(_PyXI_namespace_item *item)
|
||||
{
|
||||
|
@ -1803,6 +1804,7 @@ _sharednsitem_is_initialized(_PyXI_namespace_item *item)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
_sharednsitem_init(_PyXI_namespace_item *item, PyObject *key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue