Skip to content

Commit b7beb86

Browse files
author
Sriya Pratipati
committed
Got rid of unnecessary braces.
1 parent a78e9cc commit b7beb86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/src/wchar/wmemchr.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ namespace LIBC_NAMESPACE_DECL {
1818
LLVM_LIBC_FUNCTION(const wchar_t *, wmemchr,
1919
(const wchar_t *s, wchar_t c, size_t n)) {
2020
size_t i = 0;
21-
for (; i < n; ++i) {
21+
for (; i < n; ++i)
2222
if (s[i] == c)
2323
return (s + i);
24-
}
2524
return nullptr;
2625
}
2726

0 commit comments

Comments
 (0)