8234 rpcib: misleading-indentation

Review Request #517 - Created May 15, 2017 and submitted

Information
Toomas Soome
illumos-gate
8234
ac7bc22...
Reviewers
general
../../common/rpc/rpcib.c: In function 'rib_disconnect_channel':
../../common/rpc/rpcib.c:2058:3: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
   while (qp->n_send_rbufs)
   ^~~~~
../../common/rpc/rpcib.c:2060:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    mutex_exit(&qp->send_rbufs_lock);
    ^~~~~~~~~~
cc1: all warnings being treated as errors

  
Marcel Telka
Toomas Soome
Yuri Pankov
Marcel Telka
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...