Actions
Bug #8316
closedsrchtxt: misleading-indentation
Start date:
2017-06-04
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
Build error from gcc 6:
srchtxt.c: In function 'find_msgs': srchtxt.c:273:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (textflg) ^~ srchtxt.c:280:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' prnt_str(msg); ^~~~~~~~ cc1: all warnings being treated as errors
Updated by Electric Monk about 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 8487916bce68d458d3da4cba7d0be961dfce786f
commit 8487916bce68d458d3da4cba7d0be961dfce786f Author: Toomas Soome <tsoome@me.com> Date: 2017-06-12T10:55:31.000Z 8316 srchtxt: misleading-indentation Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Actions