Project

General

Profile

Actions

Bug #7844

closed

tools/protocmp: misleading indentenation in protodir.c

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2017-02-07
Due date:
% Done:

100%

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

Description

From gcc 6.3:
protodir.c:576:2: error: this 'while' clause does not guard... [-Werror=misleadi
ng-indentation]
while (fgets(buf, BUFSIZ, proto_fp))
^~~
protodir.c:617:3: note: ...this statement, but the latter is misleadingly indent
ed as if it is guarded by the 'while'
(void) fclose(proto_fp);
^

Actions

Also available in: Atom PDF