stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=de939ca64b3d17ee786f3fc621314fce1746334e
commit de939ca64b3d17ee786f3fc621314fce1746334e Author: João Paulo Taylor Ienczak Zanette <[email protected]> Date: Mon May 4 14:48:38 2020 +0000 cxx: Initialize _list and _node with nullptr Fixes CID 1409576 pointing that _node was unitialized. Reviewed-by: Stefan Schmidt <[email protected]> Reviewed-by: Felipe Magno de Almeida <[email protected]> Differential Revision: https://phab.enlightenment.org/D11770 --- src/bindings/cxx/eina_cxx/eina_ptrlist.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/cxx/eina_cxx/eina_ptrlist.hh b/src/bindings/cxx/eina_cxx/eina_ptrlist.hh index 2c2416c06e..f0ba2454f9 100644 --- a/src/bindings/cxx/eina_cxx/eina_ptrlist.hh +++ b/src/bindings/cxx/eina_cxx/eina_ptrlist.hh @@ -53,7 +53,7 @@ struct _ptr_list_iterator_base typedef std::ptrdiff_t difference_type; typedef std::bidirectional_iterator_tag iterator_category; - _ptr_list_iterator_base() : _list(0) {} + _ptr_list_iterator_base() : _list(nullptr), _node(nullptr) {} _ptr_list_iterator_base(Eina_List* list, Eina_List* node) : _list(list), _node(node) {} --
