Skip to content

Commit 30fdb5b

Browse files
committed
Remove braces adhering to the coding standards
1 parent b337187 commit 30fdb5b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,11 +578,10 @@ static void MemoryRangeSet(uptr addr, uptr size, RawShadow val) {
578578
Die();
579579
}
580580
// Set the ending.
581-
if (mid2 < end) {
581+
if (mid2 < end)
582582
ShadowSet(mid2, end, val);
583-
} else {
583+
else
584584
DCHECK_EQ(mid2, end);
585-
}
586585
}
587586

588587
void MemoryResetRange(ThreadState* thr, uptr pc, uptr addr, uptr size) {

0 commit comments

Comments
 (0)