From 8fb6f6bad2db6f7c9f71b9093063b889f743ba7f Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sat, 3 Jul 2010 19:25:00 +0000 Subject: [PATCH] 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 --- src/lib/kdb/kdb5.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/kdb/kdb5.c b/src/lib/kdb/kdb5.c index c5095ea13..b6c617742 100644 --- a/src/lib/kdb/kdb5.c +++ b/src/lib/kdb/kdb5.c @@ -42,7 +42,6 @@ #include #include #include "kdb5.h" -#include #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) -- 2.26.2