Project

General

Profile

Actions

Bug #8192

closed

in.ndpd: 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-10
Due date:
% Done:

100%

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

Description

Build with gcc 6:

main.c:1870:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (pr->pr_state & PR_AUTO)
    ^~
main.c:1872:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     prefix_delete(pr);
     ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
Actions

Also available in: Atom PDF