From: Sven Trenkel Date: Mon, 12 Jan 2015 23:22:34 +0000 (+0000) Subject: python: Properly init the empty string with Python3. X-Git-Tag: collectd-5.5.0~83^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9bce34a54a0e3268444a9d6d9c484f6bd566f27c;p=collectd.git python: Properly init the empty string with Python3. --- diff --git a/src/python.c b/src/python.c index 928c921b..8bcf82c2 100644 --- a/src/python.c +++ b/src/python.c @@ -1038,7 +1038,7 @@ static int cpy_init_python() { PyObject *module; #ifdef IS_PY3K - wchar_t *argv = {0}; + wchar_t *argv = L""; /* Add a builtin module, before Py_Initialize */ PyImport_AppendInittab("collectd", PyInit_collectd); #else