Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5a9f235e authored by Ralf Habacker's avatar Ralf Habacker

Coverity check CID 71527: Uninitialized pointer field (UNINIT_CTOR).

Class member m_currentClass is not initialized in this constructor nor in any functions that it calls.

CCBUG:340646
parent b63e082a
......@@ -36,8 +36,9 @@
#include <QRegExp>
CppTree2Uml::CppTree2Uml(const QString& fileName, CodeImpThread* thread)
: m_anon(0), m_nsCnt(0), m_clsCnt(0), m_thread(thread)
: m_thread(thread)
{
clear();
QDir dir(fileName);
m_fileName = dir.canonicalPath();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment