Actions
Bug #8338
closedformat: misleading-indentation
Start date:
2017-06-05
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build error from gcc 6:
menu_command.c:2003:4: error: this 'for' clause does not guard... [-Werror=misleading-indentation] for (i = 0; i < NDKMAP; i++) ^~~ menu_command.c:2011:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' parts->pinfo_map[i].dkl_nblk = ^~~~~ 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 f600977f942717123ad27ccbe25fcbb5e830ca1b
commit f600977f942717123ad27ccbe25fcbb5e830ca1b Author: Toomas Soome <tsoome@me.com> Date: 2017-06-12T00:01:06.000Z 8338 format: misleading-indentation Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
Actions