From: Tobias Burnus Date: Thu, 18 Jun 2020 11:19:03 +0000 (+0200) Subject: silence empty-body warning X-Git-Tag: basepoints/gcc-12~6752 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3870268b27fbc5291f18608fc61d53bbfa5563fa;p=thirdparty%2Fgcc.git silence empty-body warning gcc/ChangeLog: * gimple-pretty-print.c (dump_binary_rhs): Use braces to silence empty-body warning with gcc_fallthrough. --- diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c index 0336d3e61c6e..e05b770138e6 100644 --- a/gcc/gimple-pretty-print.c +++ b/gcc/gimple-pretty-print.c @@ -444,7 +444,9 @@ dump_binary_rhs (pretty_printer *buffer, const gassign *gs, int spc, break; } else - gcc_fallthrough (); + { + gcc_fallthrough (); + } case COMPLEX_EXPR: case VEC_WIDEN_MULT_HI_EXPR: case VEC_WIDEN_MULT_LO_EXPR: