X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpyconfig.c;h=4ba7e0d2012190ae6dfc8287322b4ff982ce2e82;hb=b9b5e5d573d0011c4f3276e9b84b73ba4dd2e870;hp=c6e89306483ef1db7ad8ba57e7e8a628fd7fad6b;hpb=79963d13c1884d1d92667cc502ad20758b084a12;p=collectd.git 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)