Project

General

Profile

Actions

Bug #8778

closed

kadm5: variable 'tl_data_orig' set but not used

Added by Toomas Soome over 3 years ago. Updated over 3 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:

Description

Debug build error from gcc 6:

    ../svr_principal.c: In function 'kadm5_create_principal_3':
    ../svr_principal.c:219:20: error: variable 'tl_data_orig' set but not used [-Werror=unused-but-set-variable]
         krb5_tl_data  *tl_data_orig, *tl_data_tail;
                        ^~~~~~~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 3 years ago

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

git commit 38f33a76fa7f74946118fef8a670ecc05f7675e1

commit  38f33a76fa7f74946118fef8a670ecc05f7675e1
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-16T20:33:12.000Z

    8778 kadm5: variable 'tl_data_orig' set but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF