Project

General

Profile

Actions

Bug #8157

closed

pg: misleading-indentation

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

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build error from gcc 6:

pg.c:805:4: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
    while (wait((int *)0) != id);
    ^~~~~
pg.c:806:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    {
    ^
Actions

Also available in: Atom PDF