Actions
Bug #8222
closedlibdscfg: misleading-indentation
Start date:
2017-05-13
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Building with gcc 6:
../common/cfg.c: In function 'cfg_get_cstring': ../common/cfg.c:507:6: error: this 'else' clause does not guard... [-Werror=misleading-indentation] else ^~~~ ../common/cfg.c:518:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' strncpy(value, p, value_len); ^~~~~~~ cc1: all warnings being treated as errors
Updated by Electric Monk over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 3bf67e00acfe087698262c7f308007f5dfb49f91
commit 3bf67e00acfe087698262c7f308007f5dfb49f91 Author: Toomas Soome <tsoome@me.com> Date: 2017-05-15T14:31:33.000Z 8222 libdscfg: misleading-indentation Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Actions