Skip to content
Snippets Groups Projects
Commit 16661063 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

silence warnings

parent 29af5f93
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment