]> git.sur5r.net Git - openldap/commitdiff
from jon@symas.com; include ldap_log.h for proper declarations, remove
authorHoward Chu <hyc@openldap.org>
Mon, 17 Dec 2001 22:37:47 +0000 (22:37 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 17 Dec 2001 22:37:47 +0000 (22:37 +0000)
 unused variable

clients/tools/ldapsearch.c

index 8cc11b9724f4d3a38915c50c54ac83401f69b631..52a615346a5ec20b0f3392f623b97d900401022e 100644 (file)
@@ -33,6 +33,7 @@
 #include "lutil.h"
 #include "lutil_ldap.h"
 #include "ldap_defaults.h"
+#include "ldap_log.h"
 
 static char *def_tmpdir;
 static char *def_urlpre;
@@ -181,7 +182,6 @@ main( int argc, char **argv )
 {
        char            *infile, *filtpattern, **attrs = NULL, line[BUFSIZ];
        FILE            *fp = NULL;
-       FILE            *log = NULL;
        int                     rc, i, first, scope, deref, attrsonly, manageDSAit;
        int                     referrals, timelimit, sizelimit, debug;
        int             authmethod, version, want_bindpw;