From 9bce34a54a0e3268444a9d6d9c484f6bd566f27c Mon Sep 17 00:00:00 2001 From: Sven Trenkel Date: Mon, 12 Jan 2015 23:22:34 +0000 Subject: [PATCH] python: Properly init the empty string with Python3. --- src/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0