diff options
author | albert-github <albert.tests@gmail.com> | 2019-07-02 13:31:41 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-07-02 13:31:41 (GMT) |
commit | 5059d796ea951d06cebc55f1a9158a8dd001af0e (patch) | |
tree | 8a08edd04bcd3b83e041c35d920ce52a42c4de47 /src/docbookvisitor.cpp | |
parent | 4a42645a32b579f9b2713031e45fd610b1e21f48 (diff) | |
download | Doxygen-5059d796ea951d06cebc55f1a9158a8dd001af0e.zip Doxygen-5059d796ea951d06cebc55f1a9158a8dd001af0e.tar.gz Doxygen-5059d796ea951d06cebc55f1a9158a8dd001af0e.tar.bz2 |
High consequence coverity mesages
- initializing fd (analogous to htmldocvisitor)
- always good to close file pointers
Diffstat (limited to 'src/docbookvisitor.cpp')
-rw-r--r-- | src/docbookvisitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docbookvisitor.cpp b/src/docbookvisitor.cpp index 73db25f..51ddfe7 100644 --- a/src/docbookvisitor.cpp +++ b/src/docbookvisitor.cpp @@ -480,7 +480,7 @@ DB_VIS_C popEnabled(); if (!m_hide) { - FileDef *fd; + FileDef *fd = 0; if (!op->includeFileName().isEmpty()) { QFileInfo cfi( op->includeFileName() ); |