Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Silent implicit fallthrough warning.

  • Loading branch information...
asterix24 committed Aug 9, 2018
1 parent 6e376ad commit 82d65106059d38ee88e28ddea62fdf31f26c9b27
Showing with 4 additions and 0 deletions.
  1. +4 −0 bertos/mware/formatwr.c
@@ -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;
@@ -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':
@@ -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;
@@ -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! */

0 comments on commit 82d6510

Please sign in to comment.
You can’t perform that action at this time.