diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-04-22 19:24:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 19:24:49 (GMT) |
commit | a3d53eda2903134a3d3e3d279088cfe2bec92a4e (patch) | |
tree | 9e424052e6ec4414cbd22aedef1e064d5883459a /src/template.cpp | |
parent | 3995f8b527f4d6461886fd73dfae6b7262b0819f (diff) | |
parent | c16cda14f6234ce541d204be1267751f97a6f2a0 (diff) | |
download | Doxygen-a3d53eda2903134a3d3e3d279088cfe2bec92a4e.zip Doxygen-a3d53eda2903134a3d3e3d279088cfe2bec92a4e.tar.gz Doxygen-a3d53eda2903134a3d3e3d279088cfe2bec92a4e.tar.bz2 |
Merge pull request #8502 from albert-github/feature/bug_coverity_20210414
Coverity warnings
Diffstat (limited to 'src/template.cpp')
-rwxr-xr-x[-rw-r--r--] | src/template.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/template.cpp b/src/template.cpp index 9f3fe44..9ae2c11 100644..100755 --- a/src/template.cpp +++ b/src/template.cpp @@ -4024,6 +4024,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()) { |