Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

member variable not initialized in constructor addon/doxmlparser/basehandler.h (Origin: bugzilla #590518) #3470

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant
Copy link

doxygen commented Jul 2, 2018

status RESOLVED severity minor in component general for ---
Reported in version unspecified on platform Other
Assigned to: Dimitri van Heesch

On 2009-08-02 10:59:32 +0000, Ettl Martin wrote:

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:

On 2012-07-09 18:26:19 +0000, Dimitri van Heesch wrote:

Thanks, I'll include the fix in the next update.

On 2012-07-12 15:41:54 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 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.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.