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"
|
//Integer number formats - set up the flags and "break"
|
||||||
case 'X':
|
case 'X':
|
||||||
flags |= UPPERCASE;
|
flags |= UPPERCASE;
|
||||||
|
//Falls through
|
||||||
case 'x':
|
case 'x':
|
||||||
isHex = true;
|
isHex = true;
|
||||||
break;
|
break;
|
||||||
@ -271,7 +271,7 @@ u32 vsprintf(char *buf, const char *fmt, va_list args)
|
|||||||
case 'd':
|
case 'd':
|
||||||
case 'i':
|
case 'i':
|
||||||
flags |= SIGN;
|
flags |= SIGN;
|
||||||
|
//Falls through
|
||||||
case 'u':
|
case 'u':
|
||||||
isHex = false;
|
isHex = false;
|
||||||
break;
|
break;
|
||||||
|
@ -259,7 +259,7 @@ int vsprintf(char *buf, const char *fmt, va_list args)
|
|||||||
//Integer number formats - set up the flags and "break"
|
//Integer number formats - set up the flags and "break"
|
||||||
case 'X':
|
case 'X':
|
||||||
flags |= UPPERCASE;
|
flags |= UPPERCASE;
|
||||||
|
//Falls through
|
||||||
case 'x':
|
case 'x':
|
||||||
isHex = true;
|
isHex = true;
|
||||||
break;
|
break;
|
||||||
@ -267,7 +267,7 @@ int vsprintf(char *buf, const char *fmt, va_list args)
|
|||||||
case 'd':
|
case 'd':
|
||||||
case 'i':
|
case 'i':
|
||||||
flags |= SIGN;
|
flags |= SIGN;
|
||||||
|
//Falls through
|
||||||
case 'u':
|
case 'u':
|
||||||
isHex = false;
|
isHex = false;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user