]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema_check.c
rework few members of slap_bindconf; silence few warnings
[openldap] / servers / slapd / schema_check.c
index 0da634d81246dd7093d3a421630c2f87efd27117..0cc2b886ed6c90c8dcc05a32d933dd389be5e77e 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -424,6 +424,7 @@ entry_schema_check(
        }
 
        if( extensible ) {
+               *text = NULL;
                return LDAP_SUCCESS;
        }
 
@@ -471,6 +472,7 @@ entry_schema_check(
                }
        }
 
+       *text = NULL;
        return LDAP_SUCCESS;
 }
 
@@ -684,6 +686,8 @@ int structural_class(
                return LDAP_OBJECT_CLASS_VIOLATION;
        }
 
+       *text = NULL;
+
        return LDAP_SUCCESS;
 }