From: Florian Forster Date: Sat, 6 Aug 2016 18:44:09 +0000 (+0200) Subject: python plugin: Fix double declaration of variable. X-Git-Tag: collectd-5.6.0~97 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=34773d9145c11f44840e10cc3bb0551de8d273e6;p=collectd.git python plugin: Fix double declaration of variable. This fixes a regression from 92498b8a0e1d50c7e06d435395ac0ac307cc190c. --- 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