From d3805f1980005995e3b43ed562d4e270a228b17f Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Fri, 15 Sep 2000 02:45:53 +0000 Subject: [PATCH] compiler warnings, possible use of unitialized data --- clients/finger/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5