summaryrefslogtreecommitdiffstats
path: root/src/rtfdocvisitor.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-08-28 11:27:05 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-08-28 11:27:05 (GMT)
commitfdfb027f346c30d6cd209b366e6cb879fb11cbcb (patch)
treea601ad8e4ba673373924e164ef89a17df0924dcc /src/rtfdocvisitor.cpp
parent725c7e35be17898c7cc7bfc51b8e2dfbca82bbb5 (diff)
downloadDoxygen-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.cpp5
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;
}