diff options
author | albert-github <albert.tests@gmail.com> | 2016-08-28 11:27:05 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2016-08-28 11:27:05 (GMT) |
commit | fdfb027f346c30d6cd209b366e6cb879fb11cbcb (patch) | |
tree | a601ad8e4ba673373924e164ef89a17df0924dcc /src/rtfdocvisitor.cpp | |
parent | 725c7e35be17898c7cc7bfc51b8e2dfbca82bbb5 (diff) | |
download | Doxygen-fdfb027f346c30d6cd209b366e6cb879fb11cbcb.zip Doxygen-fdfb027f346c30d6cd209b366e6cb879fb11cbcb.tar.gz Doxygen-fdfb027f346c30d6cd209b366e6cb879fb11cbcb.tar.bz2 |
Warnings from CLANG compiler
The CLANG compiler gave some warnings after pull request #503 ("Introducing commands includedoc and snippetdoc ") at places that are not / should not be reachable.
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r-- | src/rtfdocvisitor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 1e539ff..76da457 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -444,6 +444,11 @@ void RTFDocVisitor::visit(DocInclude *inc) ); m_t << "}"; break; + case DocInclude::SnippetDoc: + case DocInclude::IncludeDoc: + err("Internal inconsistency: found switch SnippetDoc / IncludeDoc in file: %s" + "Please create a bug report\n",__FILE__); + break; } m_lastIsPara=TRUE; } |