Commit cccc11b3 authored by Pablo Galindo's avatar Pablo Galindo Committed by GitHub

Fix warning in _testembed.c (GH-13533)

parent 608876b6
...@@ -1231,15 +1231,13 @@ static int _audit_subinterpreter_hook(const char *event, PyObject *args, void *u ...@@ -1231,15 +1231,13 @@ static int _audit_subinterpreter_hook(const char *event, PyObject *args, void *u
static int test_audit_subinterpreter(void) static int test_audit_subinterpreter(void)
{ {
PyThreadState *ts;
Py_IgnoreEnvironmentFlag = 0; Py_IgnoreEnvironmentFlag = 0;
PySys_AddAuditHook(_audit_subinterpreter_hook, NULL); PySys_AddAuditHook(_audit_subinterpreter_hook, NULL);
_testembed_Py_Initialize(); _testembed_Py_Initialize();
ts = Py_NewInterpreter(); Py_NewInterpreter();
ts = Py_NewInterpreter(); Py_NewInterpreter();
ts = Py_NewInterpreter(); Py_NewInterpreter();
Py_Finalize(); Py_Finalize();
......
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