krb5 commit: Clean up krb5_db2_free_policy()

Greg Hudson ghudson at mit.edu
Wed Jan 11 15:39:25 EST 2017


https://github.com/krb5/krb5/commit/708ea925c01dfa4aefb48a3a28f595671d5197c2
commit 708ea925c01dfa4aefb48a3a28f595671d5197c2
Author: Greg Hudson <ghudson at mit.edu>
Date:   Wed Jan 11 09:46:46 2017 -0500

    Clean up krb5_db2_free_policy()
    
    Commit 03d34fcfa329fbc2f686a0b34e2731e37f483a34 (ticket 8414) removed
    the prototype and all uses of krb5_db2_free_policy(), but neglected to
    remove the function definition, resulting in a warning.  Remove the
    definition now.

 src/plugins/kdb/db2/kdb_db2.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/plugins/kdb/db2/kdb_db2.c b/src/plugins/kdb/db2/kdb_db2.c
index 4c4036e..e3dccd9 100644
--- a/src/plugins/kdb/db2/kdb_db2.c
+++ b/src/plugins/kdb/db2/kdb_db2.c
@@ -1314,13 +1314,6 @@ krb5_db2_delete_policy(krb5_context context, char *policy)
     return osa_adb_destroy_policy(dbc->policy_db, policy);
 }
 
-void
-krb5_db2_free_policy(krb5_context context, osa_policy_ent_t entry)
-{
-    osa_free_policy_ent(entry);
-}
-
-
 /*
  * Merge non-replicated attributes from src into dst, setting
  * changed to non-zero if dst was changed.


More information about the cvs-krb5 mailing list