Actions
Bug #8191
closedin.routed: misleading-indentation
Start date:
2017-05-10
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Build with gcc 6:
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
Updated by Electric Monk almost 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 5cb835500e9cd5a521ccc0bbd3d2d15ea11a997f
commit 5cb835500e9cd5a521ccc0bbd3d2d15ea11a997f Author: Toomas Soome <tsoome@me.com> Date: 2017-05-30T18:04:36.000Z 8191 in.routed: misleading-indentation Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Richard Lowe <richlowe@richlowe.net>
Actions