silence warnings

This commit is contained in:
Pierangelo Masarati 2002-11-10 19:57:16 +00:00
parent 76bf91f553
commit 256f5bbe57
3 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -409,7 +409,6 @@ get_ca_list( char * bundle, char * dir )
}
}
#endif
done:
return ca_list;
}