We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78e9cc commit b7beb86Copy full SHA for b7beb86
libc/src/wchar/wmemchr.cpp
@@ -18,10 +18,9 @@ namespace LIBC_NAMESPACE_DECL {
18
LLVM_LIBC_FUNCTION(const wchar_t *, wmemchr,
19
(const wchar_t *s, wchar_t c, size_t n)) {
20
size_t i = 0;
21
- for (; i < n; ++i) {
+ for (; i < n; ++i)
22
if (s[i] == c)
23
return (s + i);
24
- }
25
return nullptr;
26
}
27
0 commit comments