Project

General

Profile

Actions

Bug #7992

closed

awk_xpg4: misleading-indentation

Added by Toomas Soome about 4 years ago. Updated about 4 years ago.

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

100%

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

Description

awk1.c: In function 'lexgetc':
awk1.c:1096:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if (progfp != FNULL)
^
awk1.c:1101:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
progfp = FNULL;
^
~~~~
cc1: all warnings being treated as errors

Actions #1

Updated by Toomas Soome about 4 years ago

  • Status changed from New to Pending RTI
Actions #2

Updated by Electric Monk about 4 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 90 to 100

git commit 50e00a8947ec14a91a17094f3345fc7f980506ae

commit  50e00a8947ec14a91a17094f3345fc7f980506ae
Author: Toomas Soome <tsoome@me.com>
Date:   2017-04-05T04:24:17.000Z

    7992 awk_xpg4: misleading-indentation
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF