Project

General

Profile

Bug #9143

rpcsec_gss: this statement may fall through

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-02-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Issue found by gcc 7 build:

    ../svc_rpcsec_gss.c: In function '__svcrpcsec_gss':
    ../svc_rpcsec_gss.c:929:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
        if (client_data->retrans_data &&
           ^
    ../svc_rpcsec_gss.c:946:7: note: here
           default:
           ^~~~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk over 1 year ago

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

git commit b86a7875d3e3bc7f4290f20ab631f1fe3f9261b1

commit  b86a7875d3e3bc7f4290f20ab631f1fe3f9261b1
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-20T22:48:05.000Z

    9143 rpcsec_gss: this statement may fall through
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF