GNOME Bugzilla – Bug 590518
member variable not initialized in constructor addon/doxmlparser/basehandler.h
Last modified: 2012-11-18 11:13:14 UTC
Please describe the problem: i have checked the sources with the static code analysis tool cppcheck. I found out that the member variable m_skipCount is not initialized in constructor of class BaseHandler(). Take a look at the sourcode: BaseHandler() : m_delegateHandler(0), m_fallBackHandler(0) { } As you can see, the member variable m_skipCount is not intialized A possible solution might be: BaseHandler() : m_delegateHandler(0), m_fallBackHandler(0) , m_skipCount(0) { } Steps to reproduce: 1. call cppcheck -a -s -f -j2 -q -v doxygen-source Actual results: Expected results: no error Does this happen every time? Other information:
Thanks, I'll include the fix in the next update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.1.2. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.