mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
fix compiler warning
This commit is contained in:
parent
35e01fbeaa
commit
aff36f1295
2 changed files with 2 additions and 2 deletions
|
@ -824,7 +824,7 @@ static int obj2ast_bool(PyObject* obj, bool* out, PyArena* arena)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int add_ast_fields()
|
static int add_ast_fields(void)
|
||||||
{
|
{
|
||||||
PyObject *empty_tuple, *d;
|
PyObject *empty_tuple, *d;
|
||||||
if (PyType_Ready(&AST_type) < 0)
|
if (PyType_Ready(&AST_type) < 0)
|
||||||
|
|
|
@ -615,7 +615,7 @@ static int obj2ast_bool(PyObject* obj, bool* out, PyArena* arena)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int add_ast_fields()
|
static int add_ast_fields(void)
|
||||||
{
|
{
|
||||||
PyObject *empty_tuple, *d;
|
PyObject *empty_tuple, *d;
|
||||||
if (PyType_Ready(&AST_type) < 0)
|
if (PyType_Ready(&AST_type) < 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue