diff --git a/src/core/jsproxy.c b/src/core/jsproxy.c index 037d0460b..0cdc21c27 100644 --- a/src/core/jsproxy.c +++ b/src/core/jsproxy.c @@ -74,9 +74,9 @@ JsProxy_GetAttr(PyObject* self, PyObject* attr) PyErr_Clear(); bool success = false; - JsRef idresult; + JsRef idresult = 0; // result: - PyObject* pyresult; + PyObject* pyresult = NULL; const char* key = PyUnicode_AsUTF8(attr); FAIL_IF_NULL(key);