From 67d86bac159f4bc77f4eee01b95a4d2f1b0d5dd0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 11 Nov 2002 03:20:41 +0000 Subject: [PATCH] Remove lint --- libraries/liblber/debug.c | 1 - libraries/libldap/schema.c | 3 ++- libraries/libldap/tls.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/liblber/debug.c b/libraries/liblber/debug.c index 13ab67c30b..cfec0942e4 100644 --- a/libraries/liblber/debug.c +++ b/libraries/liblber/debug.c @@ -30,7 +30,6 @@ struct DEBUGLEVEL }; int ldap_loglevels[LDAP_SUBSYS_NUM]; -static long numLevels = 0; static FILE *log_file = NULL; static int global_level = 0; diff --git a/libraries/libldap/schema.c b/libraries/libldap/schema.c index f109eed564..894b09de4a 100644 --- a/libraries/libldap/schema.c +++ b/libraries/libldap/schema.c @@ -120,12 +120,14 @@ safe_string_free(safe_string * ss) LDAP_FREE(ss); } +#if 0 /* unused */ static char * safe_string_val(safe_string * ss) { ss->val[ss->pos] = '\0'; return(ss->val); } +#endif static char * safe_strdup(safe_string * ss) @@ -2868,7 +2870,6 @@ ldap_str2structurerule( LDAP_CONST char * s, int seen_desc = 0; int seen_obsolete = 0; int seen_nameform = 0; - int seen_ruleids = 0; LDAPStructureRule * sr; char ** ext_vals; const char * savepos; diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index 3af0ac7613..dead3fb5cc 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -409,7 +409,6 @@ get_ca_list( char * bundle, char * dir ) } } #endif -done: return ca_list; } -- 2.39.2