]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/root_dse.c
Happy new year! (belated)
[openldap] / servers / slapd / root_dse.c
index 719dca66a4dfc48f6f0cd36d6ed99fcf9591648f..aa7437e9a2e4d5f9c0a06b7aa79c5a3304695e13 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1999-2006 The OpenLDAP Foundation.
+ * Copyright 1999-2008 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -486,8 +486,7 @@ slap_discover_feature(
        LDAP            *ld = NULL;
        LDAPMessage     *res = NULL, *entry;
        int             rc, i;
-       struct berval   cred = BER_BVC( "" ),
-                       bv_val,
+       struct berval   bv_val,
                        **values = NULL;
        char            *attrs[ 2 ] = { NULL, NULL };