Actions
Bug #8187
closednca: misleading-indentation
Start date:
2017-05-09
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Building with gcc 6:
ncab2clf.c: In function 'read_n_bytes': ncab2clf.c:477:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation] else ^~~~ ncab2clf.c:482:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' return (-1); /* some wierd interrupt */ ^~~~~~ ncab2clf.c: In function 'write_n_bytes': ncab2clf.c:512:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation] else ^~~~ ncab2clf.c:517:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' return (-1); /* some wierd interrupt */ ^~~~~~ 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 2bdc5f35fb8aff91e8e39dc78e10a66b222bd08f
commit 2bdc5f35fb8aff91e8e39dc78e10a66b222bd08f Author: Toomas Soome <tsoome@me.com> Date: 2017-05-10T14:33:52.000Z 8187 nca: misleading-indentation Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
Actions