Merge remote-tracking branch 'github/pr/1396'
authorFlorian Forster <octo@collectd.org>
Sat, 6 Aug 2016 18:51:01 +0000 (20:51 +0200)
committerFlorian Forster <octo@collectd.org>
Sat, 6 Aug 2016 18:51:01 +0000 (20:51 +0200)
src/python.c

index 912c18a..24046de 100644 (file)
@@ -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