@@ -716,7 +716,6 @@ genHTML(const EnumInfo &I, const ClangDocContext &CDCtx) {
716
716
717
717
maybeWriteSourceFileRef (Out, CDCtx, I.DefLoc );
718
718
719
- std::string Description;
720
719
if (!I.Description .empty ())
721
720
Out.emplace_back (genHTML (I.Description ));
722
721
@@ -759,7 +758,6 @@ genHTML(const FunctionInfo &I, const ClangDocContext &CDCtx,
759
758
760
759
maybeWriteSourceFileRef (Out, CDCtx, I.DefLoc );
761
760
762
- std::string Description;
763
761
if (!I.Description .empty ())
764
762
Out.emplace_back (genHTML (I.Description ));
765
763
@@ -777,7 +775,6 @@ genHTML(const NamespaceInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx,
777
775
778
776
Out.emplace_back (std::make_unique<TagNode>(HTMLTag::TAG_H1, InfoTitle));
779
777
780
- std::string Description;
781
778
if (!I.Description .empty ())
782
779
Out.emplace_back (genHTML (I.Description ));
783
780
@@ -820,7 +817,6 @@ genHTML(const RecordInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx,
820
817
821
818
maybeWriteSourceFileRef (Out, CDCtx, I.DefLoc );
822
819
823
- std::string Description;
824
820
if (!I.Description .empty ())
825
821
Out.emplace_back (genHTML (I.Description ));
826
822
0 commit comments