Skip to content

Commit 8a7cb1b

Browse files
committed
Fix CI - local difference
1 parent 37387f8 commit 8a7cb1b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ AlwaysBreakAfterReturnType: None
4242
AlwaysBreakBeforeMultilineStrings: false
4343
AlwaysBreakTemplateDeclarations: No
4444
BreakBeforeBinaryOperators: None
45-
BreakBeforeTernaryOperators: false
45+
BreakBeforeTernaryOperators: true
4646
BreakConstructorInitializers: BeforeColon
4747
BreakInheritanceList: BeforeColon
4848
BreakStringLiterals: false

src/util/rbs_encoding.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5009,9 +5009,7 @@ rbs_utf_8_codepoint(const uint8_t *b, ptrdiff_t n, size_t *width) {
50095009
uint32_t byte = b[index];
50105010
uint32_t type = rbs_utf_8_dfa[byte];
50115011

5012-
codepoint = (state != 0) ?
5013-
(byte & 0x3fu) | (codepoint << 6) :
5014-
(0xffu >> type) & (byte);
5012+
codepoint = (state != 0) ? (byte & 0x3fu) | (codepoint << 6) : (0xffu >> type) & (byte);
50155013

50165014
state = rbs_utf_8_dfa[256 + (state * 16) + type];
50175015
if (state == 0) {

0 commit comments

Comments
 (0)