Project

General

Profile

Actions

Bug #8186

closed

rdist: misleading-indentation

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

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

100%

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

Description

Building with gcc 6:

docmd.c: In function 'docmds':
docmd.c:124:1: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
 if (debug)
 ^~
docmd.c:131:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  for (c = cmds; c != NULL; c = c->c_next) {
  ^~~
cc1: all warnings being treated as errors
Actions

Also available in: Atom PDF