X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fpyconfig.c;h=4ba7e0d2012190ae6dfc8287322b4ff982ce2e82;hp=c6e89306483ef1db7ad8ba57e7e8a628fd7fad6b;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=2079ee1517e34de372f58e7e2267ad5c71a8a41f diff --git a/src/pyconfig.c b/src/pyconfig.c index c6e89306..4ba7e0d2 100644 --- a/src/pyconfig.c +++ b/src/pyconfig.c @@ -129,7 +129,7 @@ static int Config_init(PyObject *s, PyObject *args, PyObject *kwds) { static PyObject *Config_repr(PyObject *s) { Config *self = (Config *)s; PyObject *ret = NULL; - static PyObject *node_prefix = NULL, *root_prefix = NULL, *ending = NULL; + static PyObject *node_prefix, *root_prefix, *ending; /* This is ok because we have the GIL, so this is thread-save by default. */ if (node_prefix == NULL)