CommentBriefParser: remove dead store. Found by Clang Analyzer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159673 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/CommentBriefParser.cpp b/lib/AST/CommentBriefParser.cpp
index a56d79b..bc9244a 100644
--- a/lib/AST/CommentBriefParser.cpp
+++ b/lib/AST/CommentBriefParser.cpp
@@ -81,10 +81,8 @@
if (isBlockCommand(Name)) {
// We found an implicit paragraph end.
InFirstParagraph = false;
- if (InBrief) {
- InBrief = false;
+ if (InBrief)
break;
- }
}
}
@@ -97,10 +95,8 @@
ConsumeToken();
// We found a paragraph end.
InFirstParagraph = false;
- if (InBrief) {
- InBrief = false;
+ if (InBrief)
break;
- }
}
continue;
}