mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
silence warnings
This commit is contained in:
parent
76bf91f553
commit
256f5bbe57
@ -30,7 +30,6 @@ struct DEBUGLEVEL
|
||||
};
|
||||
|
||||
int ldap_loglevels[LDAP_SUBSYS_NUM];
|
||||
static long numLevels = 0;
|
||||
|
||||
static FILE *log_file = NULL;
|
||||
static int global_level = 0;
|
||||
|
@ -120,12 +120,14 @@ safe_string_free(safe_string * ss)
|
||||
LDAP_FREE(ss);
|
||||
}
|
||||
|
||||
#if 0 /* unused */
|
||||
static char *
|
||||
safe_string_val(safe_string * ss)
|
||||
{
|
||||
ss->val[ss->pos] = '\0';
|
||||
return(ss->val);
|
||||
}
|
||||
#endif
|
||||
|
||||
static char *
|
||||
safe_strdup(safe_string * ss)
|
||||
@ -2868,7 +2870,6 @@ ldap_str2structurerule( LDAP_CONST char * s,
|
||||
int seen_desc = 0;
|
||||
int seen_obsolete = 0;
|
||||
int seen_nameform = 0;
|
||||
int seen_ruleids = 0;
|
||||
LDAPStructureRule * sr;
|
||||
char ** ext_vals;
|
||||
const char * savepos;
|
||||
|
@ -409,7 +409,6 @@ get_ca_list( char * bundle, char * dir )
|
||||
}
|
||||
}
|
||||
#endif
|
||||
done:
|
||||
return ca_list;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user