Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Silent implicit fallthrough warning.
  • Loading branch information
asterix24 committed Aug 9, 2018
1 parent 6e376ad commit 82d6510
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bertos/mware/formatwr.c
Expand Up @@ -429,6 +429,7 @@ PGM_FUNC(_formatted_write)(const char * PGM_ATTR format,
case ' ':
if (flags.plus_space_flag)
goto NEXT_FLAG;
/* FALLTHROUGH */
case '+':
flags.plus_space_flag = PSF_PLUS;
goto NEXT_FLAG;
Expand Down Expand Up @@ -600,6 +601,7 @@ PGM_FUNC(_formatted_write)(const char * PGM_ATTR format,
#endif
case 'x':
hex = hex_tab;
/* FALLTHROUGH */
case 'u':
case 'p':
case 'X':
Expand Down Expand Up @@ -707,6 +709,7 @@ PGM_FUNC(_formatted_write)(const char * PGM_ATTR format,
goto FLOATING_CONVERSION;
case 'f':
format_flag = 0;
/* FALLTHROUGH */
case 'e':
case 'E':
n = 0;
Expand Down Expand Up @@ -747,6 +750,7 @@ PGM_FUNC(_formatted_write)(const char * PGM_ATTR format,

case '\0': /* Really bad place to find NUL in */
format--;
/* FALLTHROUGH */

default:
/* Undefined conversion! */
Expand Down

0 comments on commit 82d6510

Please sign in to comment.