8322 nl: misleading-indentation

Review Request #558 - Created June 4, 2017 and submitted

Information
Toomas Soome
illumos-gate
8322
a972957...
Reviewers
general
nl.c: In function 'main':
nl.c:342:6: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
      if (regerrno)
      ^~
nl.c:344:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
       break;
       ^~~~~
nl.c:376:6: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
      if (regerrno)
      ^~
nl.c:378:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
       break;
       ^~~~~
nl.c:410:6: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
      if (regerrno)
      ^~
nl.c:412:7: 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

  
Toomas Soome
Jason King
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...