Project

General

Profile

Bug #8193

pktool: misleading-indentation

Added by Toomas Soome over 2 years ago. Updated over 2 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:

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

History

#1

Updated by Electric Monk over 2 years ago

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

git commit 3897fd1d8d9d8481d79b09d4224c34eaab24fd28

commit  3897fd1d8d9d8481d79b09d4224c34eaab24fd28
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-11T16:17:20.000Z

    8193 pktool: misleading-indentation
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF