mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
silence warnings
This commit is contained in:
parent
29af5f93ee
commit
16661063d0
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue