9172 smbsrv/libsmb: this statement may fall through

Review Request #899 — Created Feb. 22, 2018 and submitted

tsoome
illumos-gate
9172
4e12b7c...
general
../common/smb_domain.c: In function 'smb_dcache_lock':
../common/smb_domain.c:659:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
   if (mode == SMB_DCACHE_RDLOCK) {
      ^
../common/smb_domain.c:670:2: note: here
  default:
  ^~~~~~~
cc1: all warnings being treated as errors


yuripv
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
gwr
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...