Skip to content

Commit 4555ae3

Browse files
committed
[NFC] Remove curly braces around a single-statement block
1 parent eb1b47c commit 4555ae3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,8 @@ const Stmt *ExplodedNode::getStmtForDiagnostics() const {
349349

350350
const Stmt *ExplodedNode::getNextStmtForDiagnostics(bool skipPurge) const {
351351
for (const ExplodedNode *N = getFirstSucc(); N; N = N->getFirstSucc()) {
352-
if (skipPurge && N->getLocation().isPurgeKind()) {
352+
if (skipPurge && N->getLocation().isPurgeKind())
353353
continue;
354-
}
355354
if (const Stmt *S = N->getStmtForDiagnostics()) {
356355
// Check if the statement is '?' or '&&'/'||'. These are "merges",
357356
// not actual statement points.

0 commit comments

Comments
 (0)