From ba14efe1f4653ad29a374f83adfe8c9d344ffb7b Mon Sep 17 00:00:00 2001 From: TuxSH Date: Sat, 15 Jul 2017 00:41:42 +0200 Subject: [PATCH] Suppress future -Wimplicit-fallthrough=3 warnings --- source/fmt.c | 4 ++-- sysmodules/rosalina/source/fmt.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/fmt.c b/source/fmt.c index 718d36f..fa19519 100644 --- a/source/fmt.c +++ b/source/fmt.c @@ -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; diff --git a/sysmodules/rosalina/source/fmt.c b/sysmodules/rosalina/source/fmt.c index 9403054..9de0715 100644 --- a/sysmodules/rosalina/source/fmt.c +++ b/sysmodules/rosalina/source/fmt.c @@ -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;