Suppress future -Wimplicit-fallthrough=3 warnings
This commit is contained in:
parent
3d8f62d38f
commit
ba14efe1f4
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user