mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05:00
Minor cleanup (coverity)
This commit is contained in:
parent
0e5f63ae6d
commit
e861305d50
3 changed files with 2 additions and 4 deletions
|
|
@ -3203,9 +3203,9 @@ config_suffix(ConfigArgs *c)
|
|||
if(tbe == c->be) {
|
||||
Debug( LDAP_DEBUG_ANY, "%s: suffix already served by this backend!.\n",
|
||||
c->log, 0, 0);
|
||||
return 1;
|
||||
free(pdn.bv_val);
|
||||
free(ndn.bv_val);
|
||||
return 1;
|
||||
} else if(tbe) {
|
||||
BackendDB *b2 = tbe;
|
||||
|
||||
|
|
|
|||
|
|
@ -1353,9 +1353,8 @@ slap_keepalive_parse(
|
|||
s = ++next;
|
||||
}
|
||||
|
||||
if ( s == '\0' ) {
|
||||
if ( *s == '\0' ) {
|
||||
sk2.sk_interval = 0;
|
||||
s++;
|
||||
|
||||
} else {
|
||||
sk2.sk_interval = strtol( s, &next, 10 );
|
||||
|
|
|
|||
|
|
@ -747,7 +747,6 @@ slap_sort_vals(
|
|||
if ( match == 0 ) goto done;
|
||||
}
|
||||
if ( jstack == 0 ) break;
|
||||
if ( match == 0 ) break;
|
||||
ir = istack[jstack--];
|
||||
l = istack[jstack--];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue