mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
silence warnings
This commit is contained in:
parent
29af5f93ee
commit
16661063d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user