8288 uts: common/os/cap_util.c has misleading indentation

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

Information
Toomas Soome
illumos-gate
8288
90e20ef...
Reviewers
general
../../common/os/cap_util.c: In function 'cu_cpc_init':
../../common/os/cap_util.c:563:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (cntr_info != NULL)
    ^~
../../common/os/cap_util.c:565:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     cntr_info_array[pg_hw_type] = NULL;
     ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

  
Yuri Pankov
Jason King
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...