Actions
Bug #8223
closedlibshell: misleading-indentation
Start date:
2017-05-13
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
Building with gcc 6:
../common/sh/nvdisc.c: In function 'nv_clone': ../common/sh/nvdisc.c:916:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if(mp->nvflag == flag) ^~ ../common/sh/nvdisc.c:918:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(nv_isattr(np,NV_EXPORT)) ^~ cc1: all warnings being treated as errors
Actions