8292 rdc: misleading-indentation

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

tsoome
illumos-gate
8292
ad64824...
general
../../common/avs/ns/rdc/rdc_diskq.c: In function 'rdc_diskq_buf2queue':
../../common/avs/ns/rdc/rdc_diskq.c:1868:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if ((netq->nitems == 1) &&
    ^~
../../common/avs/ns/rdc/rdc_diskq.c:1871:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     *abuf = NULL;
     ^
cc1: all warnings being treated as errors


tsoome
yuripv
  1. luckily it's the "never can happen case" :-)

  2. 
      
jbk
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...