8191 in.routed: misleading-indentation

Review Request #486 - Created May 10, 2017 and updated

Information
Toomas Soome
illumos-gate
8191
39e1802...
Reviewers
general
table.c: In function 'sync_kern':
table.c:1477:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (rp->ipRouteIfIndex.o_length <
    ^~
table.c:1481:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     (void) strncpy(ifname,
     ^
cc1: all warnings being treated as errors

  
Marcel Telka
Robert Mustacchi
Toomas Soome
Review request changed

Change Summary:

add CTASSERT() for extra safety.

Commit:

-99bdb7c277119aca0263e2e3613f05d20ace509c
+39e18021b1a9bec84f871e22cee0bceeb9fd615f

Diff:

Revision 2 (+7 -3)

Show changes

Loading...