Actions
Bug #8291
closedsdbc: misleading-indentation
Start date:
2017-05-28
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Build error from gcc 6:
../../common/avs/ns/sdbc/sd_bcache.c:1467:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if ((cdi->cd_info->sh_alloc != CD_ALLOCATED)) ^~ ../../common/avs/ns/sdbc/sd_bcache.c:1469:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return (alloc_cd); ^~~~~~ 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 991d1963916dde23ad9b4cea0b1aff1b5db71519
commit 991d1963916dde23ad9b4cea0b1aff1b5db71519 Author: Toomas Soome <tsoome@me.com> Date: 2017-06-02T17:49:19.000Z 8291 sdbc: misleading-indentation Reviewed by: Aurélien Larcher <aurelien.larcher@gmail.com> Reviewed by: Yuri Pankov <yuripv@gmx.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Actions