[cfe-commits] r159673 - /cfe/trunk/lib/AST/CommentBriefParser.cpp
Dmitri Gribenko
gribozavr at gmail.com
Tue Jul 3 11:10:20 PDT 2012
Author: gribozavr
Date: Tue Jul 3 13:10:20 2012
New Revision: 159673
URL: http://llvm.org/viewvc/llvm-project?rev=159673&view=rev
Log:
CommentBriefParser: remove dead store. Found by Clang Analyzer.
Modified:
cfe/trunk/lib/AST/CommentBriefParser.cpp
Modified: cfe/trunk/lib/AST/CommentBriefParser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CommentBriefParser.cpp?rev=159673&r1=159672&r2=159673&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CommentBriefParser.cpp (original)
+++ cfe/trunk/lib/AST/CommentBriefParser.cpp Tue Jul 3 13:10:20 2012
@@ -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;
}
More information about the cfe-commits
mailing list