Actions
Bug #8186
closedrdist: 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:
docmd.c: In function 'docmds': docmd.c:124:1: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (debug) ^~ docmd.c:131:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' for (c = cmds; c != NULL; c = c->c_next) { ^~~ 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 859dddab5a1a5373df6d162d36ae46a9f8560cd0
commit 859dddab5a1a5373df6d162d36ae46a9f8560cd0 Author: Toomas Soome <tsoome@me.com> Date: 2017-05-17T11:32:05.000Z 8186 rdist: misleading-indentation Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Aurélien Larcher <aurelien.larcher@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Actions