Fix compiler warning in unicodeobject.c (GH-105050)

Fix compiler warning in unicodeobject.c (GH-105050)
(cherry picked from commit e92ac0a741)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-05-29 02:05:42 -07:00 committed by GitHub
parent 74bbc603e4
commit 5dc6b18cb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,7 +236,7 @@ static inline PyObject *get_interned_dict(PyInterpreterState *interp)
}
Py_ssize_t
_PyUnicode_InternedSize()
_PyUnicode_InternedSize(void)
{
return PyObject_Length(get_interned_dict(_PyInterpreterState_GET()));
}