Project

General

Profile

Actions

Bug #8314

closed

tbl: misleading-indentation

Added by Toomas Soome about 5 years ago. Updated about 5 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:

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 #1

Updated by Electric Monk about 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit f55f1fcb216cf1d45157402e5acbdd70e6fb23f4

commit  f55f1fcb216cf1d45157402e5acbdd70e6fb23f4
Author: Toomas Soome <tsoome@me.com>
Date:   2017-06-11T16:40:19.000Z

    8314 tbl: misleading-indentation
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF