silence warnings

This commit is contained in:
Pierangelo Masarati 2006-05-19 22:37:52 +00:00
parent 29af5f93ee
commit 16661063d0

View File

@ -945,7 +945,7 @@ limits_unparse_one( struct slap_limits_set *lim, int which, struct berval *bv, b
{
char *ptr;
if ( !bv || !bv->bv_val ) return;
if ( !bv || !bv->bv_val ) return -1;
ptr = bv->bv_val;
@ -1083,6 +1083,8 @@ t_hard:
*ptr = '\0';
bv->bv_len = ptr - bv->bv_val;
}
return 0;
}
int