summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/definition.cpp2
-rw-r--r--src/tagreader.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 86f8789..e18932e 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -528,7 +528,7 @@ void DefinitionImpl::writeDocAnchorsToTagFile(FTextStream &tagFile) const
SectionInfo *si;
for (;(si=sdi.current());++sdi)
{
- if (!si->generated && si->ref.isEmpty())
+ if (!si->generated && si->ref.isEmpty() && !si->label.startsWith("autotoc_md"))
{
//printf("write an entry!\n");
if (definitionType()==TypeMember) tagFile << " ";
diff --git a/src/tagreader.cpp b/src/tagreader.cpp
index e72db6a..4b99f0d 100644
--- a/src/tagreader.cpp
+++ b/src/tagreader.cpp
@@ -523,7 +523,7 @@ class TagFileParser : public QXmlDefaultHandler
case InMember: m_curMember->docAnchors.append(new TagAnchorInfo(m_fileName,m_curString,m_title)); break;
case InPackage: m_curPackage->docAnchors.append(new TagAnchorInfo(m_fileName,m_curString,m_title)); break;
case InDir: m_curDir->docAnchors.append(new TagAnchorInfo(m_fileName,m_curString,m_title)); break;
- default: warn("Unexpected tag 'docanchor' found"); break; // Not really necessary anymore
+ default: break; // will not be reached
}
}