9638 libc/port/fp/sigfpe.c: this statement may fall through

Review Request #1124 - Created July 3, 2018 and updated

Information
Toomas Soome
illumos-gate
9638
ab82ce2...
Reviewers
general
../port/fp/sigfpe.c: In function '_sigfpe_master':
../port/fp/sigfpe.c:137:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
   switch (code) {
   ^~~~~~
../port/fp/sigfpe.c:156:2: note: here
  case ((intptr_t)(SIGFPE_ABORT)):
  ^~~~
cc1: all warnings being treated as errors

  
Yuri Pankov
Ship It!
  1. Or you could just change break to abort in the default case, doesn't matter much though.

C Fraire

LGTM

Ken Mays
Ship It!
Loading...