8187 nca: misleading-indentation

Review Request #482 — Created May 9, 2017 and submitted

tsoome
illumos-gate
8187
2a6fa4d...
general
ncab2clf.c: In function 'read_n_bytes':
ncab2clf.c:477:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
    else
    ^~~~
ncab2clf.c:482:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
     return (-1); /* some wierd interrupt */
     ^~~~~~
ncab2clf.c: In function 'write_n_bytes':
ncab2clf.c:512:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
    else
    ^~~~
ncab2clf.c:517:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
     return (-1); /* some wierd interrupt */
     ^~~~~~
cc1: all warnings being treated as errors


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

Status: Closed (submitted)

Loading...