summaryrefslogtreecommitdiffstats
path: root/src/dotgraph.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-12-02 13:23:25 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-12-02 13:23:25 (GMT)
commitef06c8d14c7889e723331601ac847cc481966f5c (patch)
treef95298a5b676b41d3bdf72f2c17f7765b5cb7948 /src/dotgraph.h
parent9b14bf58c30a02ef19abebec280568532dc58ed4 (diff)
downloadDoxygen-ef06c8d14c7889e723331601ac847cc481966f5c.zip
Doxygen-ef06c8d14c7889e723331601ac847cc481966f5c.tar.gz
Doxygen-ef06c8d14c7889e723331601ac847cc481966f5c.tar.bz2
Coverity uninitialized
Fixing a number of uninitialized variables based on the coverity output of November 30, 2019
Diffstat (limited to 'src/dotgraph.h')
-rw-r--r--src/dotgraph.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dotgraph.h b/src/dotgraph.h
index 0eda3a8..edba009 100644
--- a/src/dotgraph.h
+++ b/src/dotgraph.h
@@ -74,22 +74,22 @@ class DotGraph
QCString relImgName() const { return m_relPath + imgName(); }
// the following variables are used while writing the graph to a .dot file
- GraphOutputFormat m_graphFormat;
- EmbeddedOutputFormat m_textFormat;
+ GraphOutputFormat m_graphFormat = GOF_BITMAP;
+ EmbeddedOutputFormat m_textFormat = EOF_Html;
QDir m_dir;
QCString m_fileName;
QCString m_relPath;
- bool m_generateImageMap;
- int m_graphId;
+ bool m_generateImageMap = false;
+ int m_graphId = 0;
QCString m_absPath;
QCString m_baseName;
QGString m_theGraph;
- bool m_regenerate;
- bool m_doNotAddImageToIndex;
- bool m_noDivTag;
- bool m_zoomable;
- bool m_urlOnly;
+ bool m_regenerate = false;
+ bool m_doNotAddImageToIndex = false;
+ bool m_noDivTag = false;
+ bool m_zoomable = true;
+ bool m_urlOnly = false;
private:
DotGraph(const DotGraph &);