Project

General

Profile

Actions

Bug #8775

closed

krb5kdc: variable set but not used

Added by Toomas Soome almost 5 years ago. Updated almost 5 years ago.

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

100%

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

Description

Debug mode build error with gcc 6:

    main.c:335:12: error: variable 'seed' set but not used [-Werror=unused-but-set-variable]
      krb5_data seed;
                ^~~~
    main.c: In function 'initialize_realms':
    main.c:454:12: error: variable 'rcname' set but not used [-Werror=unused-but-set-variable]
         char  *rcname = KDCRCACHE;
                ^~~~~~

Actions #1

Updated by Electric Monk almost 5 years ago

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

git commit 5026b7fcee27ac1c884a99b607cc2abea07137d6

commit  5026b7fcee27ac1c884a99b607cc2abea07137d6
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-16T15:43:22.000Z

    8775 krb5kdc: variable set but not used
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF