8336 ed: misleading-indentation

Review Request #569 - Created June 5, 2017 and submitted

Information
Toomas Soome
illumos-gate
8336
f7db165...
Reviewers
general
ed.c: In function 'strequal':
ed.c:3076:3: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
   while (*scan++);
   ^~~~~
ed.c:3077:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    *scan1 = scan;
    ^
cc1: all warnings being treated as errors

  
Toomas Soome
Robert Mustacchi
Gordon Ross
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...