Actions
Bug #8321
closedpassmgmt: misleading-indentation
Start date:
2017-06-04
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
Build error from gcc 6:
passmgmt.c: In function 'main': passmgmt.c:445:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (strlen(optarg) > (size_t)CMT_SIZE || ^~ passmgmt.c:449:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' optn_mask |= C_MASK; ^~~~~~~~~ cc1: all warnings being treated as errors
Updated by Electric Monk about 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 8b0dcb133967b853a15366312ca67b3408be89fd
commit 8b0dcb133967b853a15366312ca67b3408be89fd Author: Toomas Soome <tsoome@me.com> Date: 2017-06-11T19:55:48.000Z 8321 passmgmt: misleading-indentation Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
Actions