Project

General

Profile

Actions

Bug #8337

closed

gss: 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-06-05
Due date:
% Done:

100%

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

Description

Build error from gcc 6:

gssd_clnt_stubs.c: In function 'kgss_accept_sec_context':
gssd_clnt_stubs.c:1064:4: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
  } else
    ^~~~
gssd_clnt_stubs.c:1067:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
   err = kgss_accept_sec_context_wrapped(minor_status,
   ^~~
cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk about 5 years ago

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

git commit cb4d790db8fe85bce9f9647fe4e1bdc274c7af1c

commit  cb4d790db8fe85bce9f9647fe4e1bdc274c7af1c
Author: Toomas Soome <tsoome@me.com>
Date:   2017-06-07T14:23:16.000Z

    8337 gss: misleading-indentation
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF