Skip to content

Commit 2f2b6e8

Browse files
committed
1 parent b77ba74 commit 2f2b6e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: libraries/string/string.c

+2
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,8 @@ return_type string_print_va(char *output, const char *format_string,
538538
case 'X':
539539
{
540540
flags |= UPPER_HEX;
541+
542+
// Falls through by design. (Can't use __attribute__ ((fallthrough)), since it breaks on gcc < 7.)
541543
}
542544

543545
case 'x':

0 commit comments

Comments
 (0)