summaryrefslogtreecommitdiffstats
path: root/src/docparser.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/docparser.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/docparser.cpp')
-rw-r--r--src/docparser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index afeb35f..cdf549a 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -1941,6 +1941,11 @@ void DocInclude::parse()
m_blockId.data(),m_file.data(),count);
}
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;
}
}