From 6c96f3b13a4901ae7e060203cfa26d2c7ccc68a4 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 2 Feb 2017 16:35:40 +1100 Subject: libc/stdio/vsnprintf.c: add explicit fallthrough silences recent GCC warning Signed-off-by: Stewart Smith (cherry picked from commit 11cf409be293091470b3f75619416e2bb2697265) Signed-off-by: Stewart Smith --- libc/stdio/vsnprintf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc') diff --git a/libc/stdio/vsnprintf.c b/libc/stdio/vsnprintf.c index 38d5281..410a806 100644 --- a/libc/stdio/vsnprintf.c +++ b/libc/stdio/vsnprintf.c @@ -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]; -- cgit v1.1