Remove lint reported have Hallvard

This commit is contained in:
Kurt Zeilenga 1998-10-23 21:59:32 +00:00
parent 856c134079
commit 12346ab42f
3 changed files with 5 additions and 3 deletions

View file

@ -776,15 +776,16 @@ char *query;
e = ldap_first_entry( ld, res );
oc = ldap_get_values( ld, e, "objectClass" );
if ( isnonleaf( ld, oc, dn ) ) {
dn = ldap_get_dn( ld, e );
dn = ldap_get_dn( ld, e );
if ( isnonleaf( ld, oc, dn ) ) {
rc = do_menu( ld, fp, dn );
free( dn );
return( rc );
}
free( dn );
ldap_value_free( oc );
}

View file

@ -21,6 +21,7 @@ int Argc; /* original argc */
/* VARARGS */
setproctitle( fmt, a, b, c )
char *fmt;
char *a, *b, *c;
{
static char *endargv = (char *)0;
char *s;

View file

@ -480,7 +480,7 @@ char *cp;
return(tmp);
}
char * code_to_str(i)
char * code_to_str(int i)
{
switch(i) {
case LDAP_MOD_ADD : return("ADD");