X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpython.c;h=64db6985ad4fa301663058c935794c9c73ba8a3a;hb=733fc645b6389d1f42aef8f1c1631f1db7d58196;hp=969a4db8d826ed2cdeb9617071936e66ef7ed7a9;hpb=029b489b237a8785c539f85d4840a49ba6743603;p=collectd.git diff --git a/src/python.c b/src/python.c index 969a4db8..64db6985 100644 --- a/src/python.c +++ b/src/python.c @@ -257,8 +257,8 @@ static cpy_callback_t *cpy_init_callbacks; static cpy_callback_t *cpy_shutdown_callbacks; /* Make sure to hold the GIL while modifying these. */ -static int cpy_shutdown_triggered = 0; -static int cpy_num_callbacks = 0; +static int cpy_shutdown_triggered; +static int cpy_num_callbacks; static void cpy_destroy_user_data(void *data) { cpy_callback_t *c = data;