Project

General

Profile

Actions

Bug #8314

closed

tbl: misleading-indentation

Added by Toomas Soome over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2017-06-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

Build error from gcc 6:

t7.c: In function 'runtabs':
t7.c:70:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
       if (realsplit? rused[c]: (used[c]+lused[c]))
       ^~
t7.c:72:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    continue;
    ^~~~~~~~
cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF