mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
compiler warnings, possible use of unitialized data
This commit is contained in:
parent
0243c4b0da
commit
d3805f1980
@ -259,10 +259,10 @@ do_search( LDAP *ld, char *buf )
|
||||
{
|
||||
char *dn, *rdn;
|
||||
char **title;
|
||||
int rc, matches, i, ufn;
|
||||
int rc = 0, matches = 0, i, ufn;
|
||||
struct timeval tv;
|
||||
LDAPFiltDesc *fd;
|
||||
LDAPFiltInfo *fi;
|
||||
LDAPFiltInfo *fi = NULL;
|
||||
LDAPMessage *result, *e;
|
||||
static char *attrs[] = { "cn", "title", "objectClass", "joinable",
|
||||
#ifdef FINGER_SORT_ATTR
|
||||
|
Loading…
Reference in New Issue
Block a user