Skip to content

Commit

Permalink
kdc: tgs_build_reply remove unused variable
Browse files Browse the repository at this point in the history
tgt_realm is assigned a value but is never used in tgs_build_reply().

Change-Id: I882a127f40947b9c8755af5c28f1b19d66263b4c
  • Loading branch information
jaltman committed Nov 19, 2016
1 parent 0dc3d21 commit 348c425
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kdc/krb5tgs.c
Expand Up @@ -1519,8 +1519,6 @@ tgs_build_reply(krb5_context context,
krb5_keyblock sessionkey;
krb5_kvno kvno;
krb5_data rspac;
const char *tgt_realm = /* Realm of TGT issuer */
krb5_principal_get_realm(context, krbtgt->entry.principal);
const char *our_realm = /* Realm of this KDC */
krb5_principal_get_comp_string(context, krbtgt->entry.principal, 1);
char **capath = NULL;
Expand Down

0 comments on commit 348c425

Please sign in to comment.