8291 sdbc: misleading-indentation

Review Request #540 — Created May 28, 2017 and submitted

tsoome
illumos-gate
8291
2920efd...
general
../../common/avs/ns/sdbc/sd_bcache.c: In function '_sd_open_cd':
../../common/avs/ns/sdbc/sd_bcache.c:1467:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if ((cdi->cd_info->sh_alloc != CD_ALLOCATED))
   ^~
../../common/avs/ns/sdbc/sd_bcache.c:1469:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    return (alloc_cd);
    ^~~~~~
cc1: all warnings being treated as errors


tsoome
alarcher
  1. Ship It!
  2. 
      
yuripv
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...