Skip to content

Commit

Permalink
libc/stdio/vsnprintf.c: add explicit fallthrough
Browse files Browse the repository at this point in the history
silences recent GCC warning

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
stewartsmith committed Feb 2, 2017
1 parent 3d0e3d8 commit 11cf409
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libc/stdio/vsnprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ print_format(char **buffer, size_t bufsize, const char *format, void *var)
break;
case 'X':
upper = true;
/* fallthrough */
case 'x':
sizec[i] = '\0';
value = (unsigned long) var & convert[length_mod];
Expand Down

0 comments on commit 11cf409

Please sign in to comment.