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/perlmodgen.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/perlmodgen.cpp')
-rw-r--r-- | src/perlmodgen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index 09e1968..0cd9911 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -716,6 +716,11 @@ void PerlModDocVisitor::visit(DocInclude *inc) case DocInclude::LatexInclude: type = "latexonly"; break; case DocInclude::VerbInclude: type = "preformatted"; break; case DocInclude::Snippet: return; + case DocInclude::SnippetDoc: + case DocInclude::IncludeDoc: + err("Internal inconsistency: found switch SnippetDoc / IncludeDoc in file: %s" + "Please create a bug report\n",__FILE__); + break; } openItem(type); m_output.addFieldQuotedString("content", inc->text()); |