Skip to content
Snippets Groups Projects
Commit 01bb2378 authored by Ben Collins's avatar Ben Collins
Browse files

compiler warnings, possible use of unitialized data

parent b2225f06
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment