mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
silence warning(s)
This commit is contained in:
parent
0de20c028f
commit
739128a016
4 changed files with 14 additions and 9 deletions
17
configure.in
17
configure.in
|
|
@ -774,11 +774,11 @@ if test $am_cv_sys_posix_termios = yes ; then
|
||||||
[define if you have POSIX termios])
|
[define if you have POSIX termios])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_HEADERS( \
|
AC_CHECK_HEADERS( \
|
||||||
arpa/inet.h \
|
arpa/inet.h \
|
||||||
arpa/nameser.h \
|
arpa/nameser.h \
|
||||||
assert.h \
|
assert.h \
|
||||||
bits/types.h \
|
bits/types.h \
|
||||||
conio.h \
|
conio.h \
|
||||||
crypt.h \
|
crypt.h \
|
||||||
direct.h \
|
direct.h \
|
||||||
|
|
@ -791,7 +791,7 @@ AC_CHECK_HEADERS( \
|
||||||
libutil.h \
|
libutil.h \
|
||||||
limits.h \
|
limits.h \
|
||||||
locale.h \
|
locale.h \
|
||||||
netinet/tcp.h \
|
netinet/tcp.h \
|
||||||
malloc.h \
|
malloc.h \
|
||||||
memory.h \
|
memory.h \
|
||||||
psap.h \
|
psap.h \
|
||||||
|
|
@ -809,11 +809,11 @@ AC_CHECK_HEADERS( \
|
||||||
sys/errno.h \
|
sys/errno.h \
|
||||||
sys/ioctl.h \
|
sys/ioctl.h \
|
||||||
sys/param.h \
|
sys/param.h \
|
||||||
sys/resource.h \
|
sys/resource.h \
|
||||||
sys/select.h \
|
sys/select.h \
|
||||||
sys/socket.h \
|
sys/socket.h \
|
||||||
sys/stat.h \
|
sys/stat.h \
|
||||||
sys/syslog.h \
|
sys/syslog.h \
|
||||||
sys/time.h \
|
sys/time.h \
|
||||||
sys/types.h \
|
sys/types.h \
|
||||||
sys/ucred.h \
|
sys/ucred.h \
|
||||||
|
|
@ -821,6 +821,7 @@ AC_CHECK_HEADERS( \
|
||||||
syslog.h \
|
syslog.h \
|
||||||
termios.h \
|
termios.h \
|
||||||
unistd.h \
|
unistd.h \
|
||||||
|
utime.h \
|
||||||
winsock.h \
|
winsock.h \
|
||||||
winsock2.h \
|
winsock2.h \
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
#include <ac/stdlib.h>
|
#include <ac/stdlib.h>
|
||||||
#include <ac/errno.h>
|
#include <ac/errno.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#ifdef HAVE_UTIME_H
|
||||||
|
#include <utime.h>
|
||||||
|
#endif /* HAVE_UTIME_H */
|
||||||
#include "back-bdb.h"
|
#include "back-bdb.h"
|
||||||
#include <lutil.h>
|
#include <lutil.h>
|
||||||
#include <ldap_rq.h>
|
#include <ldap_rq.h>
|
||||||
|
|
|
||||||
|
|
@ -185,7 +185,9 @@ Entry* bdb_tool_entry_get( BackendDB *be, ID id )
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
Entry *e = NULL;
|
Entry *e = NULL;
|
||||||
|
#ifndef BDB_HIER
|
||||||
struct berval bv;
|
struct berval bv;
|
||||||
|
#endif
|
||||||
|
|
||||||
assert( be != NULL );
|
assert( be != NULL );
|
||||||
assert( slapMode & SLAP_TOOL_MODE );
|
assert( slapMode & SLAP_TOOL_MODE );
|
||||||
|
|
|
||||||
|
|
@ -516,7 +516,6 @@ glue_close (
|
||||||
BackendInfo *bi
|
BackendInfo *bi
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
slap_overinst *on = glue_tool_inst( bi );
|
|
||||||
static int glueClosed = 0;
|
static int glueClosed = 0;
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue