summaryrefslogtreecommitdiffstats
path: root/src/template.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-04-14 12:31:22 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-04-14 12:31:22 (GMT)
commitc16cda14f6234ce541d204be1267751f97a6f2a0 (patch)
treed0fa0681057ab5f8efa19006826f81109f0bfca2 /src/template.cpp
parent98c67549bc3cd855873e0ef5eeab7c6410699d78 (diff)
downloadDoxygen-c16cda14f6234ce541d204be1267751f97a6f2a0.zip
Doxygen-c16cda14f6234ce541d204be1267751f97a6f2a0.tar.gz
Doxygen-c16cda14f6234ce541d204be1267751f97a6f2a0.tar.bz2
Coverity warnings
Correcting new coverity warnings. - utf8.cpp is dead code. - template.cpp, made consistent with other render functions
Diffstat (limited to 'src/template.cpp')
-rwxr-xr-x[-rw-r--r--]src/template.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/template.cpp b/src/template.cpp
index 5ae5881..2e8dc4f 100644..100755
--- a/src/template.cpp
+++ b/src/template.cpp
@@ -4023,6 +4023,7 @@ class TemplateNodeCycle : public TemplateNodeCreator<TemplateNodeCycle>
void render(TextStream &ts, TemplateContext *c)
{
TemplateContextImpl *ci = dynamic_cast<TemplateContextImpl*>(c);
+ if (ci==0) return; // should not happen
ci->setLocation(m_templateName,m_line);
if (m_index<m_args.size())
{