"...composable_kernel.git" did not exist on "db0eb1ea9cbc789d8f17b6d101794d966d2f3088"
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: ...@@ -708,7 +708,7 @@ protected:
private: private:
handle obj; handle obj;
PyObject *key, *value; PyObject *key = nullptr, *value = nullptr;
ssize_t pos = -1; ssize_t pos = -1;
}; };
NAMESPACE_END(iterator_policies) 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