diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-03 18:10:20 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-03 18:10:20 +0000 |
commit | 57aceb227d192ce41f5412a53d451354e90dd792 (patch) | |
tree | 9de3036342b6618c62bff1eacd827e1a21c1a706 /lib/AST/CommentBriefParser.cpp | |
parent | 39d5fa131ff0f2de0f04b16dca086c51102cb1bf (diff) |
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
Diffstat (limited to 'lib/AST/CommentBriefParser.cpp')
-rw-r--r-- | lib/AST/CommentBriefParser.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/AST/CommentBriefParser.cpp b/lib/AST/CommentBriefParser.cpp index a56d79bda7..bc9244a693 100644 --- a/lib/AST/CommentBriefParser.cpp +++ b/lib/AST/CommentBriefParser.cpp @@ -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; - } } } @@ -97,10 +95,8 @@ std::string BriefParser::Parse() { ConsumeToken(); // We found a paragraph end. InFirstParagraph = false; - if (InBrief) { - InBrief = false; + if (InBrief) break; - } } continue; } |