8296 tcopy: misleading-indentation

Review Request #552 - Created June 4, 2017 and submitted - Latest diff uploaded

Information
Toomas Soome
illumos-gate
8296
118fe28...
Reviewers
general
tcopy.c: In function 'main':
tcopy.c:152:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (ln > 0)
    ^~
tcopy.c:160:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     (void) printf("file %d: eof after %ld records:"
     ^
cc1: all warnings being treated as errors

  
Loading...