8285 kssl: misleading-indentation

Review Request #534 - Created May 28, 2017 and submitted

Information
Toomas Soome
illumos-gate
8285
3c264dd...
Reviewers
general
../../common/inet/kssl/kssl.c: In function 'kssl_ioctl':
../../common/inet/kssl/kssl.c:324:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
  if (auditing)
  ^~
../../common/inet/kssl/kssl.c:326:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   off = offsetof(kssl_params_t, kssl_token) +
   ^~~
../../common/inet/kssl/kssl.c:345:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
  if (auditing)
  ^~
../../common/inet/kssl/kssl.c:347:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   break;
   ^~~~~
cc1: all warnings being treated as errors

  
Andrew Stormont
Yuri Pankov
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...