9218 bge: this statement may fall through

Review Request #925 - Created March 1, 2018 and submitted

Information
Toomas Soome
illumos-gate
9218
9c08445...
Reviewers
general
../../common/io/bge/bge_chip2.c:2146:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (bgep->chipid.device == DEVICE_ID_5761)
      ^
../../common/io/bge/bge_chip2.c:2148:2: note: here
  case BGE_APE_LOCK_GRC:
  ^~~~
../../common/io/bge/bge_chip2.c: In function 'bge_ape_unlock':
../../common/io/bge/bge_chip2.c:2207:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (bgep->chipid.device == DEVICE_ID_5761)
      ^
../../common/io/bge/bge_chip2.c:2209:2: note: here
  case BGE_APE_LOCK_GRC:
  ^~~~
cc1: all warnings being treated as errors

  
Andy Fiddaman
Hans Rosenfeld
Toomas Soome
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...