diff options
author | Greg Hudson <ghudson@mit.edu> | 2010-07-03 19:25:00 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2010-07-03 19:25:00 +0000 |
commit | 8fb6f6bad2db6f7c9f71b9093063b889f743ba7f (patch) | |
tree | 966f21349ab4b9fdfe721c4bca4ea86885151462 /src | |
parent | 640690c6555142190fc81575bcdbb2122994c7a6 (diff) | |
download | krb5-8fb6f6bad2db6f7c9f71b9093063b889f743ba7f.zip krb5-8fb6f6bad2db6f7c9f71b9093063b889f743ba7f.tar.gz krb5-8fb6f6bad2db6f7c9f71b9093063b889f743ba7f.tar.bz2 |
Remove assertions for non-nullity of init_module and fini_module in
kdb5.c for consistency with other uses of mandatory vtable functions.
ticket: 6749
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24172 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/kdb/kdb5.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/kdb/kdb5.c b/src/lib/kdb/kdb5.c index c5095ea..b6c6177 100644 --- a/src/lib/kdb/kdb5.c +++ b/src/lib/kdb/kdb5.c @@ -42,7 +42,6 @@ #include <k5-int.h> #include <osconf.h> #include "kdb5.h" -#include <assert.h> #include "kdb_log.h" #include "kdb5int.h" @@ -592,7 +591,6 @@ krb5_db_open(krb5_context kcontext, char **db_args, int mode) status = get_vftabl(kcontext, &v); if (status) goto clean_n_exit; - assert(v->init_module != NULL); status = v->init_module(kcontext, section, db_args, mode); clean_n_exit: @@ -650,7 +648,6 @@ krb5_db_fini(krb5_context kcontext) return 0; v = &kcontext->dal_handle->lib_handle->vftabl; - assert(v->fini_module != NULL); status = v->fini_module(kcontext); if (status) |