summaryrefslogtreecommitdiffstats
path: root/src/template.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-08-08 10:40:02 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-08-08 10:40:59 (GMT)
commitccd2c5b14568ab2ee369e901a260fcf35c69cdc9 (patch)
treea54d8a29dc08a48e31c6b00493cc3169ab6ebe83 /src/template.cpp
parentfd4ee7d2f86ac908aec909101ba7739630b7f42f (diff)
downloadDoxygen-ccd2c5b14568ab2ee369e901a260fcf35c69cdc9.zip
Doxygen-ccd2c5b14568ab2ee369e901a260fcf35c69cdc9.tar.gz
Doxygen-ccd2c5b14568ab2ee369e901a260fcf35c69cdc9.tar.bz2
Fixed a couple of compiler warnings on Linux
Diffstat (limited to 'src/template.cpp')
-rw-r--r--src/template.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/template.cpp b/src/template.cpp
index 80962e8..66347c4 100644
--- a/src/template.cpp
+++ b/src/template.cpp
@@ -383,7 +383,7 @@ class TemplateListConstIterator : public TemplateListIntf::ConstIterator
}
virtual bool current(TemplateVariant &v) const
{
- if (m_index>=0 && m_index<m_list.p->elems.size())
+ if (m_index<m_list.p->elems.size())
{
v = m_list.p->elems[m_index];
return TRUE;