diff options
author | albert-github <albert.tests@gmail.com> | 2019-04-19 16:27:10 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-04-19 16:27:10 (GMT) |
commit | e148ac40cb0c5dee845f0a43c4c644dac1efc6a1 (patch) | |
tree | 1efaf47cd83c365908e5947cd0b4d2ddf603034a /src/htmldocvisitor.cpp | |
parent | cd63af1e16e6194da328d95a81b546e27b873e78 (diff) | |
download | Doxygen-e148ac40cb0c5dee845f0a43c4c644dac1efc6a1.zip Doxygen-e148ac40cb0c5dee845f0a43c4c644dac1efc6a1.tar.gz Doxygen-e148ac40cb0c5dee845f0a43c4c644dac1efc6a1.tar.bz2 |
Crash in case of usage of \line without \include
In case thee `line` command is used without previous `\inclide` or `\dontinclude` command doxygen will crash due to a non initialized fd.
We get the message:
warning: No previous '\include' or \dontinclude' command for '\line' present
also a small correcting regarding the warning message is done.
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r-- | src/htmldocvisitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index 37f6bd0..a45e2a7 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -790,7 +790,7 @@ void HtmlDocVisitor::visit(DocIncOperator *op) popEnabled(); if (!m_hide) { - FileDef *fd; + FileDef *fd = NULL; if (!op->includeFileName().isEmpty()) { QFileInfo cfi( op->includeFileName() ); |