Project

General

Profile

Actions

Bug #8214

closed

pam_modules: misleading-indentation

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

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

100%

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

Description

Building with gcc 6:

../dhkeys.c: In function 'establish_key':
../dhkeys.c:250:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if (debug)
   ^~
../dhkeys.c:252:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    result = PAM_SYSTEM_ERR;
    ^~~~~~
cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 6 years ago

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

git commit 504dd8f6e2938c3287c29bef6c7b5b3c942e80d1

commit  504dd8f6e2938c3287c29bef6c7b5b3c942e80d1
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-13T21:38:53.000Z

    8214 pam_modules: misleading-indentation
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF