Suppress future -Wimplicit-fallthrough=3 warnings

This commit is contained in:
TuxSH 2017-07-15 00:41:42 +02:00
parent 3d8f62d38f
commit ba14efe1f4
2 changed files with 4 additions and 4 deletions

View File

@ -263,7 +263,7 @@ u32 vsprintf(char *buf, const char *fmt, va_list args)
//Integer number formats - set up the flags and "break"
case 'X':
flags |= UPPERCASE;
//Falls through
case 'x':
isHex = true;
break;
@ -271,7 +271,7 @@ u32 vsprintf(char *buf, const char *fmt, va_list args)
case 'd':
case 'i':
flags |= SIGN;
//Falls through
case 'u':
isHex = false;
break;

View File

@ -259,7 +259,7 @@ int vsprintf(char *buf, const char *fmt, va_list args)
//Integer number formats - set up the flags and "break"
case 'X':
flags |= UPPERCASE;
//Falls through
case 'x':
isHex = true;
break;
@ -267,7 +267,7 @@ int vsprintf(char *buf, const char *fmt, va_list args)
case 'd':
case 'i':
flags |= SIGN;
//Falls through
case 'u':
isHex = false;
break;