X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpython.c;h=24046de4568723b979889d3f558d6cfe1325c959;hb=34773d9145c11f44840e10cc3bb0551de8d273e6;hp=912c18ae227bbd3d8379130ce1f5942d7af80eea;hpb=92498b8a0e1d50c7e06d435395ac0ac307cc190c;p=collectd.git diff --git a/src/python.c b/src/python.c index 912c18ae..24046de4 100644 --- a/src/python.c +++ b/src/python.c @@ -222,7 +222,6 @@ static char reg_shutdown_doc[] = "register_shutdown(callback[, data][, name]) -> static pthread_t main_thread; static PyOS_sighandler_t python_sigint_handler; static _Bool do_interactive = 0; -static int do_interactive = 0; /* This is our global thread state. Python saves some stuff in thread-local * storage. So if we allow the interpreter to run in the background