Actions
Bug #8188
closedtic: misleading-indentation
Start date:
2017-05-10
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Build error with gcc 6:
/code/illumos-gate/usr/src/cmd/tic/tic_main.c: In function 'check_dir': /code/illumos-gate/usr/src/cmd/tic/tic_main.c:221:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (mkdir(dir, 0755) < 0) ^~ /code/illumos-gate/usr/src/cmd/tic/tic_main.c:223:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' dirnames[dirletter] = 1; ^~~~~~~~ cc1: all warnings being treated as errors
Actions