9226 fd: this statement may fall through

Review Request #927 — Created March 4, 2018 and submitted

tsoome
illumos-gate
9226
d8247c2...
general
../../common/io/fd.c:375:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    if (cmos)
       ^
../../common/io/fd.c:384:3: note: here
   default:  /* need to check .conf file */
   ^~~~~~~
../../common/io/fd.c: In function 'fd_probe':
../../common/io/fd.c:298:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (cmos && (drive_type & 0x0F)) {
      ^
../../common/io/fd.c:308:2: note: here
  default:  /* need to check conf file */
  ^~~~~~~
cc1: all warnings being treated as errors


jbk
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
seeemef@mac.com
  1. Ship It!
  2. 
      
tsoome
jbk
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...