Skip to content

Commit 826e8bf

Browse files
author
Sriya Pratipati
committed
Cleaned up code
1 parent 530268c commit 826e8bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/src/wchar/wcscat.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ LLVM_LIBC_FUNCTION(wchar_t *, wcscat,
2020
(wchar_t *__restrict s1, const wchar_t *__restrict s2)) {
2121
size_t size_1 = internal::string_length(s1);
2222
size_t i = 0;
23-
for (; s2[i] != L'\0'; i++) {
23+
for (; s2[i] != L'\0'; i++)
2424
s1[size_1 + i] = s2[i];
25-
}
2625
s1[size_1 + i] = L'\0';
2726
return s1;
2827
}

0 commit comments

Comments
 (0)