8218 libshare: misleading-indentation

Review Request #505 - Created May 13, 2017 and submitted

Information
Toomas Soome
illumos-gate
8218
609bfb9...
Reviewers
general
../common/libsharecore.c: In function 'adddfsentry':
../common/libsharecore.c:437:4: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
    for (tmp = list; tmp->next != NULL; tmp = tmp->next)
    ^~~
../common/libsharecore.c:439:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     tmp->next = item;
     ^~~
cc1: all warnings being treated as errors

  
Yuri Pankov
Igor Kozhukhov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...