Blame SOURCES/doxygen-1.9.1-Coverity_issues.patch

4fe1d2
diff -up doxygen-1.9.1/src/context.cpp.me doxygen-1.9.1/src/context.cpp
4fe1d2
--- doxygen-1.9.1/src/context.cpp.me	2021-02-10 10:56:44.575251899 +0100
4fe1d2
+++ doxygen-1.9.1/src/context.cpp	2021-02-10 10:57:54.522809720 +0100
4fe1d2
@@ -4062,11 +4062,11 @@ class MemberContext::Private : public De
4fe1d2
         s_inst.addProperty("nameWithContextFor",  &Private::nameWithContextFor);
4fe1d2
         init=TRUE;
4fe1d2
       }
4fe1d2
-      if (md && !md->cookie()) { md->setCookie(new MemberContext::Private::Cachable(md)); }
4fe1d2
+      if (!md->cookie()) { md->setCookie(new MemberContext::Private::Cachable(md)); }
4fe1d2
 
4fe1d2
       Cachable &cache = getCache();
4fe1d2
       cache.propertyAttrs.reset(TemplateList::alloc());
4fe1d2
-      if (md && md->isProperty())
4fe1d2
+      if (md->isProperty())
4fe1d2
       {
4fe1d2
         if (md->isGettable())           cache.propertyAttrs->append("get");
4fe1d2
         if (md->isPrivateGettable())    cache.propertyAttrs->append("private get");
4fe1d2
@@ -4076,7 +4076,7 @@ class MemberContext::Private : public De
4fe1d2
         if (md->isProtectedSettable())  cache.propertyAttrs->append("protected set");
4fe1d2
       }
4fe1d2
       cache.eventAttrs.reset(TemplateList::alloc());
4fe1d2
-      if (md && md->isEvent())
4fe1d2
+      if (md->isEvent())
4fe1d2
       {
4fe1d2
         if (md->isAddable())   cache.eventAttrs->append("add");
4fe1d2
         if (md->isRemovable()) cache.eventAttrs->append("remove");
4fe1d2
diff -up doxygen-1.9.1/src/docparser.cpp.me doxygen-1.9.1/src/docparser.cpp
4fe1d2
--- doxygen-1.9.1/src/docparser.cpp.me	2021-02-10 10:58:11.491500540 +0100
4fe1d2
+++ doxygen-1.9.1/src/docparser.cpp	2021-02-10 11:00:35.905512597 +0100
4fe1d2
@@ -1524,7 +1524,7 @@ reparsetoken:
4fe1d2
           {
4fe1d2
             QCString scope;
4fe1d2
             doctokenizerYYsetStateSetScope();
4fe1d2
-            doctokenizerYYlex();
4fe1d2
+            (void)doctokenizerYYlex();
4fe1d2
             scope = g_token->name;
4fe1d2
             g_context = scope;
4fe1d2
             //printf("Found scope='%s'\n",scope.data());
4fe1d2
diff -up doxygen-1.9.1/src/dotgroupcollaboration.cpp.me doxygen-1.9.1/src/dotgroupcollaboration.cpp
4fe1d2
--- doxygen-1.9.1/src/dotgroupcollaboration.cpp.me	2021-02-10 11:01:10.588530954 +0100
4fe1d2
+++ doxygen-1.9.1/src/dotgroupcollaboration.cpp	2021-02-10 11:02:54.216221350 +0100
4fe1d2
@@ -309,6 +309,7 @@ void DotGroupCollaboration::Edge::write(
4fe1d2
     {
4fe1d2
       if (first) first=FALSE; else t << "\\n";
4fe1d2
       t << DotNode::convertLabel(link->label);
4fe1d2
+      count++;
4fe1d2
     }
4fe1d2
     if (count==maxLabels) t << "\\n...";
4fe1d2
     t << "\"";