Skip to content

Commit

Permalink
CommentBriefParser: remove dead store. Found by Clang Analyzer.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159673 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
gribozavr committed Jul 3, 2012
1 parent 39d5fa1 commit 57aceb2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/AST/CommentBriefParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@ std::string BriefParser::Parse() {
if (isBlockCommand(Name)) {
// We found an implicit paragraph end.
InFirstParagraph = false;
if (InBrief) {
InBrief = false;
if (InBrief)
break;
}
}
}

Expand All @@ -97,10 +95,8 @@ std::string BriefParser::Parse() {
ConsumeToken();
// We found a paragraph end.
InFirstParagraph = false;
if (InBrief) {
InBrief = false;
if (InBrief)
break;
}
}
continue;
}
Expand Down

0 comments on commit 57aceb2

Please sign in to comment.