Project

General

Profile

Actions

Bug #8193

closed

pktool: 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:

100%

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

Description

Build with gcc 6:

delete.c: In function 'delete_nss_certs':
delete.c:326:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
  if (rv != KMF_OK)
  ^~
delete.c:329:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   kmf_set_attr_at_index(attrlist, numattr, KMF_KEYSTORE_TYPE_ATTR,
   ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Actions

Also available in: Atom PDF