Skip to content

Commit e576531

Browse files
author
Sriya Pratipati
committed
fixed formatting
1 parent 2163dca commit e576531

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/src/__support/wchar/character_converter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ int CharacterConverter::push(char8_t utf8_byte) {
6868
// Any subsequent push
6969
// Adding 6 more bits so need to left shift
7070
if (num_ones == 1 && !isComplete()) {
71-
char32_t byte =
72-
utf8_byte & MASK_ENCODED_BITS;
71+
char32_t byte = utf8_byte & MASK_ENCODED_BITS;
7372
state->partial = state->partial << ENCODED_BITS_PER_UTF8;
7473
state->partial |= byte;
7574
state->bytes_processed++;

0 commit comments

Comments
 (0)