Project

General

Profile

Actions

Bug #8784

closed

sasl_plugins: variable 'maj_stat' set but not used

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-11-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Debug build error from gcc 6:

../gssapi.c: In function 'sasl_gss_free_context_contents':
../gssapi.c:647:15: error: variable 'maj_stat' set but not used [-Werror=unused-but-set-variable]
     OM_uint32 maj_stat, min_stat;
               ^~~~~~~~
cc1: all warnings being treated as errors

Actions #1

Updated by Toomas Soome about 6 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk about 6 years ago

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

git commit 4213c2d8f7d24a0383e863621115570a68fb016c

commit  4213c2d8f7d24a0383e863621115570a68fb016c
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-14T16:23:32.000Z

    8784 sasl_plugins: variable 'maj_stat' set but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF