Project

General

Profile

Actions

Bug #8195

closed

calendar: 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-10
Due date:
% Done:

90%

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

Description

Building with gcc 6:

calprog.c:252:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
    else
    ^~~~
calprog.c:254:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
     if (*(tb - 1) == '0')
     ^~
cc1: all warnings being treated as errors
Actions

Also available in: Atom PDF