mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Remove unused vars/function
This commit is contained in:
parent
cc2278b36a
commit
b290faf0db
3 changed files with 6 additions and 3 deletions
|
|
@ -50,7 +50,9 @@ static void free_ldmarr LDAP_P(( LDAPMod ** ));
|
|||
static int getmodtype LDAP_P(( char * ));
|
||||
static void dump_ldm_array LDAP_P(( LDAPMod ** ));
|
||||
static char **read_krbnames LDAP_P(( Ri * ));
|
||||
#ifdef HAVE_KERBEROS
|
||||
static void upcase LDAP_P(( char * ));
|
||||
#endif
|
||||
static int do_bind LDAP_P(( Ri *, int * ));
|
||||
static int do_unbind LDAP_P(( Ri * ));
|
||||
|
||||
|
|
@ -885,6 +887,7 @@ read_krbnames(
|
|||
}
|
||||
|
||||
|
||||
#ifdef HAVE_KERBEROS
|
||||
|
||||
/*
|
||||
* upcase a string
|
||||
|
|
@ -900,3 +903,5 @@ upcase(
|
|||
*p = TOUPPER( (unsigned char) *p );
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* HAVE_KERBEROS */
|
||||
|
|
|
|||
|
|
@ -269,7 +269,6 @@ get_repl_hosts(
|
|||
char **r_rp
|
||||
)
|
||||
{
|
||||
char buf[ LDIF_LINE_WIDTH + 1 ];
|
||||
char *type, *value, *line, *p;
|
||||
Rh *rh = NULL;
|
||||
int nreplicas;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <ac/stdlib.h>
|
||||
#include <ac/string.h>
|
||||
#include <ac/unistd.h> /* get ftruncate() */
|
||||
|
||||
#include "slurp.h"
|
||||
|
|
@ -314,8 +315,6 @@ Rq_needtrim(
|
|||
)
|
||||
{
|
||||
int rc = 0;
|
||||
Re *re;
|
||||
int nzrc = 0; /* nzrc is count of entries with refcnt == 0 */
|
||||
time_t now;
|
||||
|
||||
if ( rq == NULL ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue