Project

General

Profile

Actions

Bug #8190

closed

in.talkd: misleading-indentation

Added by Toomas Soome about 6 years ago. Updated about 6 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:
External Bug:

Description

Build with gcc 6:

table.c:250:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if (debug)
   ^~
table.c:252:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    ptr = ptr->next;
    ^~~
cc1: all warnings being treated as errors
Actions #1

Updated by Electric Monk about 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 7adeceed002e89d408a9ec9b5f4d4a1f9f80db81

commit  7adeceed002e89d408a9ec9b5f4d4a1f9f80db81
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-11T16:17:08.000Z

    8190 in.talkd: misleading-indentation
    Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF