Actions
Bug #8192
closedin.ndpd: 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:
main.c:1870:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (pr->pr_state & PR_AUTO) ^~ main.c:1872:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' prefix_delete(pr); ^~~~~~~~~~~~~ cc1: all warnings being treated as errors
Updated by Electric Monk about 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit e6301a35e2f110a678c6c67734f2d692a1c8a841
commit e6301a35e2f110a678c6c67734f2d692a1c8a841 Author: Toomas Soome <tsoome@me.com> Date: 2017-05-23T01:18:31.000Z 8192 in.ndpd: misleading-indentation Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Actions