diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-02 16:35:40 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-02 16:35:42 +1100 |
commit | 11cf409be293091470b3f75619416e2bb2697265 (patch) | |
tree | 32d0f3f924b9ee4bdb916cf980ae40cb1418c06b /libc | |
parent | 3d0e3d8d288ede98b6adf969c8f341eac6c4784d (diff) | |
download | skiboot-11cf409be293091470b3f75619416e2bb2697265.zip skiboot-11cf409be293091470b3f75619416e2bb2697265.tar.gz skiboot-11cf409be293091470b3f75619416e2bb2697265.tar.bz2 |
libc/stdio/vsnprintf.c: add explicit fallthrough
silences recent GCC warning
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/stdio/vsnprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |