dict_readonly: member init (#1661)

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

Found with coverity in a downstream project.
This commit is contained in:
Axel Huebl 2019-06-10 22:19:41 +02:00 committed by Wenzel Jakob
parent 1c627c9ec0
commit a2cdd0b915

View File

@ -708,7 +708,7 @@ protected:
private:
handle obj;
PyObject *key, *value;
PyObject *key = nullptr, *value = nullptr;
ssize_t pos = -1;
};
NAMESPACE_END(iterator_policies)