Commit a2cdd0b9 authored by Axel Huebl's avatar Axel Huebl Committed by Wenzel Jakob
Browse files

dict_readonly: member init (#1661)

fix missing member initialization in pytypes: read-only dict.

Found with coverity in a downstream project.
parent 1c627c9e
......@@ -708,7 +708,7 @@ protected:
private:
handle obj;
PyObject *key, *value;
PyObject *key = nullptr, *value = nullptr;
ssize_t pos = -1;
};
NAMESPACE_END(iterator_policies)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment