summaryrefslogtreecommitdiffstats
path: root/src/membergroup.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-08-18 19:07:17 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-08-18 19:07:17 (GMT)
commit48ced3ea8071b3141216482e2821e10250910947 (patch)
tree547a30cd6cc5015b3e85170cd944e14224e7ae9c /src/membergroup.cpp
parent625e7a17bc708a32d52158ac24e7308c9d62fe84 (diff)
downloadDoxygen-48ced3ea8071b3141216482e2821e10250910947.zip
Doxygen-48ced3ea8071b3141216482e2821e10250910947.tar.gz
Doxygen-48ced3ea8071b3141216482e2821e10250910947.tar.bz2
Fixed various issues found by PVS-Studio.
Diffstat (limited to 'src/membergroup.cpp')
-rw-r--r--src/membergroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/membergroup.cpp b/src/membergroup.cpp
index 4bf7721..08f951c 100644
--- a/src/membergroup.cpp
+++ b/src/membergroup.cpp
@@ -76,7 +76,7 @@ void MemberGroup::insertMember(MemberDef *md)
// md,md->name().data());
MemberDef *firstMd = memberList->getFirst();
- if (inSameSection && memberList->count()>0 &&
+ if (inSameSection && firstMd &&
firstMd->getSectionList(m_parent)!=md->getSectionList(m_parent))
{
inSameSection=FALSE;