Project

General

Profile

Actions

Bug #8216

closed

libsldap: misleading-indentation

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-05-13
Due date:
% Done:

100%

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

Description

Building with gcc 6:

../common/ns_config.c: In function 'destroy_config':
../common/ns_config.c:838:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if (ptr->domainName != NULL)
   ^~
../common/ns_config.c:840:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    ptr->domainName = NULL;
    ^~~
cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF