vitorsousa pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3e7f4c1daee10d4ced00fe09e11078b4a6cb1076

commit 3e7f4c1daee10d4ced00fe09e11078b4a6cb1076
Author: Vitor Sousa <vitorsousasi...@gmail.com>
Date:   Mon Mar 21 17:27:46 2016 -0300

    eina_cxx: fix Coverity warning regarding uninitialized iterator member
---
 src/bindings/eina_cxx/eina_iterator.hh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bindings/eina_cxx/eina_iterator.hh 
b/src/bindings/eina_cxx/eina_iterator.hh
index de04fd7..dcada2c 100644
--- a/src/bindings/eina_cxx/eina_iterator.hh
+++ b/src/bindings/eina_cxx/eina_iterator.hh
@@ -169,6 +169,7 @@ public:
    */
   explicit iterator(Eina_Iterator* iterator_ = 0)
     : base_type(iterator_)
+    , _value(nullptr)
   {
     if(this->_iterator)
       ++*this;
@@ -246,6 +247,7 @@ public:
    */
   explicit iterator(Eina_Iterator* iterator_ = 0)
     : base_type(iterator_)
+    , _value(nullptr)
   {
     if(this->_iterator)
       ++*this;

-- 


Reply via email to