Skip to content

Commit 1c8df28

Browse files
bnoordhuisevanlucas
authored andcommitted
src: fix -Wimplicit-fallthrough warning
PR-URL: #18205 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 70d6fda commit 1c8df28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node_i18n.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,8 @@ static int GetColumnWidth(UChar32 codepoint,
788788
if (ambiguous_as_full_width) {
789789
return 2;
790790
}
791-
// Fall through if ambiguous_as_full_width if false.
791+
// If ambiguous_as_full_width is false:
792+
// Fall through
792793
case U_EA_NEUTRAL:
793794
if (u_hasBinaryProperty(codepoint, UCHAR_EMOJI_PRESENTATION)) {
794795
return 2;

0 commit comments

Comments
 (0)