From: Ben Collins Date: Fri, 15 Sep 2000 02:45:53 +0000 (+0000) Subject: compiler warnings, possible use of unitialized data X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1999 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d3805f1980005995e3b43ed562d4e270a228b17f;p=openldap compiler warnings, possible use of unitialized data --- diff --git a/clients/finger/main.c b/clients/finger/main.c index bc02da053a..a19fece964 100644 --- a/clients/finger/main.c +++ b/clients/finger/main.c @@ -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