Commit aff36f12 authored by Benjamin Peterson's avatar Benjamin Peterson

fix compiler warning

parent 35e01fbe
...@@ -824,7 +824,7 @@ static int obj2ast_bool(PyObject* obj, bool* out, PyArena* arena) ...@@ -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) ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment