summaryrefslogtreecommitdiffstats
path: root/src/layout.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-09-13 16:01:21 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-09-13 16:01:21 (GMT)
commit99f948c038b763028fcb95ef2a65fdbc1d5f9520 (patch)
tree463b89eccee1f90603ab4ee991ab18ef736f8166 /src/layout.h
parentaca45fd514cadc56ac277bd54f49604708ebbb5d (diff)
downloadDoxygen-99f948c038b763028fcb95ef2a65fdbc1d5f9520.zip
Doxygen-99f948c038b763028fcb95ef2a65fdbc1d5f9520.tar.gz
Doxygen-99f948c038b763028fcb95ef2a65fdbc1d5f9520.tar.bz2
Fixing coverity messages
Note: especially latexdocvisitor (dead code that should not be dead code).
Diffstat (limited to 'src/layout.h')
-rw-r--r--src/layout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout.h b/src/layout.h
index 0b9ad9e..1906a3d 100644
--- a/src/layout.h
+++ b/src/layout.h
@@ -119,6 +119,7 @@ struct LayoutNavEntry
{
public:
enum Kind {
+ None = -1,
MainPage,
Pages,
Modules,
@@ -158,7 +159,7 @@ struct LayoutNavEntry
LayoutNavEntry *find(LayoutNavEntry::Kind k,const char *file=0) const;
private:
- LayoutNavEntry() : m_parent(0) {}
+ LayoutNavEntry() : m_parent(0), m_kind(None), m_visible(FALSE) {}
LayoutNavEntry *m_parent;
Kind m_kind;
bool m_visible;