mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Silence warnings
This commit is contained in:
parent
36db408d0e
commit
00d898e7f3
2 changed files with 6 additions and 3 deletions
|
|
@ -779,7 +779,7 @@ glue_sub_del( BackendDB *b0 )
|
|||
|
||||
/* Find the top backend for this subordinate */
|
||||
be = b0;
|
||||
while ( be=LDAP_STAILQ_NEXT( be, be_next )) {
|
||||
while ( (be=LDAP_STAILQ_NEXT( be, be_next )) != NULL ) {
|
||||
slap_overinfo *oi;
|
||||
slap_overinst *on;
|
||||
glueinfo *gi;
|
||||
|
|
@ -840,7 +840,7 @@ glue_sub_attach()
|
|||
|
||||
/* Find the top backend for this subordinate */
|
||||
be = ga->ga_be;
|
||||
while ( be=LDAP_STAILQ_NEXT( be, be_next )) {
|
||||
while ( (be=LDAP_STAILQ_NEXT( be, be_next )) != NULL ) {
|
||||
slap_overinfo *oi;
|
||||
slap_overinst *on;
|
||||
glueinfo *gi;
|
||||
|
|
|
|||
|
|
@ -1572,7 +1572,10 @@ slapd_daemon_task(
|
|||
ber_socket_t i;
|
||||
int ns, nwriters;
|
||||
int at;
|
||||
ber_socket_t nfds, nrfds, nwfds;
|
||||
ber_socket_t nfds;
|
||||
#if SLAP_EVENTS_ARE_INDEXED
|
||||
ber_socket_t nrfds, nwfds;
|
||||
#endif
|
||||
#define SLAPD_EBADF_LIMIT 16
|
||||
|
||||
time_t now;
|
||||
|
|
|
|||
Loading…
Reference in a new issue