diff options
author | Vitor Sousa <vitorsousasilva@gmail.com> | 2016-03-21 17:27:46 -0300 |
---|---|---|
committer | Vitor Sousa <vitorsousasilva@gmail.com> | 2016-03-21 17:30:49 -0300 |
commit | 3e7f4c1daee10d4ced00fe09e11078b4a6cb1076 (patch) | |
tree | 1645e258e94b00b2f47216695c379906b492c054 | |
parent | 6a1a1305b5111df48834afe155df7751e4430608 (diff) | |
download | efl-3e7f4c1daee10d4ced00fe09e11078b4a6cb1076.tar.gz |
eina_cxx: fix Coverity warning regarding uninitialized iterator member
-rw-r--r-- | src/bindings/eina_cxx/eina_iterator.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/eina_cxx/eina_iterator.hh b/src/bindings/eina_cxx/eina_iterator.hh index de04fd73a3..dcada2cc05 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; |