Project

General

Profile

Bug #8197

bnu: misleading-indentation

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

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Building with gcc 6:

cntrl.c:1155:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if ( W_FILE2[1] == '.'  &&
   ^~
cntrl.c:1158:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    goto top;
    ^~~~
cc1: all warnings being treated as errors

Also similar about gnxseq.c.

History

#1

Updated by Toomas Soome over 2 years ago

  • Description updated (diff)
#2

Updated by Electric Monk over 2 years ago

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

git commit 518f6e4f50f2a38cdf2a69027ed68c13a855adca

commit  518f6e4f50f2a38cdf2a69027ed68c13a855adca
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-17T11:16:18.000Z

    8197 bnu: misleading-indentation
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

Also available in: Atom PDF