Commit 35697915 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Coverity check CID 268393: Uninitialized scalar field (UNINIT_CTOR)

Non-static class member m_version is not initialized in this constructor
nor in any functions that it calls.

parent fc19ac77
......@@ -56,7 +56,7 @@ protected:
bool m_usePosition; ///< use position tag from dot (not used yet)
bool m_useFullNodeLabels; ///< use full node labels
QString m_dotPath; ///< contains path to generator executable
int m_version; ///< version of graphviz generator
int m_version{0}; ///< version of graphviz generator
friend QDebug operator<<(QDebug out, DotGenerator &c);
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