diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-18 19:07:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-18 19:07:17 (GMT) |
commit | 48ced3ea8071b3141216482e2821e10250910947 (patch) | |
tree | 547a30cd6cc5015b3e85170cd944e14224e7ae9c /src/util.cpp | |
parent | 625e7a17bc708a32d52158ac24e7308c9d62fe84 (diff) | |
download | Doxygen-48ced3ea8071b3141216482e2821e10250910947.zip Doxygen-48ced3ea8071b3141216482e2821e10250910947.tar.gz Doxygen-48ced3ea8071b3141216482e2821e10250910947.tar.bz2 |
Fixed various issues found by PVS-Studio.
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index db6a19c..0467953 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -4291,7 +4291,7 @@ bool getDefs(const QCString &scName, bool found=FALSE; MemberListIterator mmli(*mn); MemberDef *mmd; - for (mmli.toFirst();((mmd=mmli.current()) && !found);++mmli) + for (mmli.toFirst();(mmd=mmli.current());++mmli) { MemberDef *tmd = mmd->getEnumScope(); //printf("try member %s tmd=%s\n",mmd->name().data(),tmd?tmd->name().data():"<none>"); @@ -8353,7 +8353,7 @@ void convertProtectionLevel( if (extractPrivate) { *outListType1=MemberListType_pubSlots; - *outListType1=MemberListType_proSlots; + *outListType2=MemberListType_proSlots; } else { |