Date: Sat, 27 Jan 2018 22:27:55 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328493 - head/lib/libthr/thread Message-ID: <201801272227.w0RMRtmk062757@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Sat Jan 27 22:27:55 2018 New Revision: 328493 URL: https://svnweb.freebsd.org/changeset/base/328493 Log: libthr: Fix missing break in switch. This is also a warning in recent GCC with -Wimplicit-fallthrough. CID: 1356262 Obtained from: DragonFly (git 0f037c78 - partial) Modified: head/lib/libthr/thread/thr_printf.c Modified: head/lib/libthr/thread/thr_printf.c ============================================================================== --- head/lib/libthr/thread/thr_printf.c Sat Jan 27 22:16:19 2018 (r328492) +++ head/lib/libthr/thread/thr_printf.c Sat Jan 27 22:27:55 2018 (r328493) @@ -95,6 +95,7 @@ next: c = *fmt++; case 'p': pstr(fd, "0x"); islong = 1; + /* FALLTHROUGH */ case 'd': case 'u': case 'x':
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801272227.w0RMRtmk062757>