@@ -716,7 +716,6 @@ genHTML(const EnumInfo &I, const ClangDocContext &CDCtx) {
716716
717717 maybeWriteSourceFileRef (Out, CDCtx, I.DefLoc );
718718
719- std::string Description;
720719 if (!I.Description .empty ())
721720 Out.emplace_back (genHTML (I.Description ));
722721
@@ -759,7 +758,6 @@ genHTML(const FunctionInfo &I, const ClangDocContext &CDCtx,
759758
760759 maybeWriteSourceFileRef (Out, CDCtx, I.DefLoc );
761760
762- std::string Description;
763761 if (!I.Description .empty ())
764762 Out.emplace_back (genHTML (I.Description ));
765763
@@ -777,7 +775,6 @@ genHTML(const NamespaceInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx,
777775
778776 Out.emplace_back (std::make_unique<TagNode>(HTMLTag::TAG_H1, InfoTitle));
779777
780- std::string Description;
781778 if (!I.Description .empty ())
782779 Out.emplace_back (genHTML (I.Description ));
783780
@@ -820,7 +817,6 @@ genHTML(const RecordInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx,
820817
821818 maybeWriteSourceFileRef (Out, CDCtx, I.DefLoc );
822819
823- std::string Description;
824820 if (!I.Description .empty ())
825821 Out.emplace_back (genHTML (I.Description ));
826822
0 commit comments