Project

General

Profile

Bug #8314

tbl: misleading-indentation

Added by Toomas Soome almost 3 years ago. Updated almost 3 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

History

#1

Updated by Electric Monk almost 3 years ago

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

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>

Also available in: Atom PDF