svn rev #24172: trunk/src/lib/kdb/

ghudson@MIT.EDU ghudson at MIT.EDU
Sat Jul 3 15:25:00 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24172
Commit By: ghudson
Log Message:
ticket: 6749
status: open

Remove assertions for non-nullity of init_module and fini_module in
kdb5.c for consistency with other uses of mandatory vtable functions.



Changed Files:
U   trunk/src/lib/kdb/kdb5.c
Modified: trunk/src/lib/kdb/kdb5.c
===================================================================
--- trunk/src/lib/kdb/kdb5.c	2010-07-03 19:22:08 UTC (rev 24171)
+++ trunk/src/lib/kdb/kdb5.c	2010-07-03 19:25:00 UTC (rev 24172)
@@ -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 @@
     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 @@
         return 0;
 
     v = &kcontext->dal_handle->lib_handle->vftabl;
-    assert(v->fini_module != NULL);
     status = v->fini_module(kcontext);
 
     if (status)




More information about the cvs-krb5 mailing list