From: Tobias Burnus Date: Thu, 18 Jun 2020 11:19:03 +0000 (+0200) Subject: silence empty-body warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3870268b27fbc5291f18608fc61d53bbfa5563fa;p=gcc.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 0336d3e61c6..e05b770138e 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: