]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove dead variable def_kslist from two files
authorRobbie Harwood <rharwood@redhat.com>
Thu, 2 May 2019 20:57:51 +0000 (16:57 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 14 May 2019 14:36:13 +0000 (10:36 -0400)
commit6309f5e3508cd24151222b2cd095766283e205f2
tree540492efdb1629866b9e59e679433b662af050aa
parenta5a140dc85201faf1ba3a687553058354722a1b4
Remove dead variable def_kslist from two files

def_kslist was part of kdb5_create.c since its addition (commit
edf8b4d8a6a665c2aa150993cd813ea6c5cf12e1) and has always been
irrelevant since the rblock structure is fully initialized in
kdb5_create().

def_klist was copied into kdb5_ldap_realm.c (present in addition at
commit 42d9d6ab320ee3a661fe21472be542acd542d5be).  The global rblock
structure (and therefore the initializer) was removed in commit
9c850f8b62784170a5e42315c1a9552ddcf4ca2b, leaving def_kslist
unreferenced.

Remove def_kslist from both files, and remove the rblock initializer
from kdb5_create.c.

[ghudson@mit.edu: edited commit message]
src/kadmin/dbutil/kdb5_create.c
src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c