silence warning(s)

This commit is contained in:
Pierangelo Masarati 2005-07-25 20:50:33 +00:00
parent 0de20c028f
commit 739128a016
4 changed files with 14 additions and 9 deletions

View file

@ -821,6 +821,7 @@ AC_CHECK_HEADERS( \
syslog.h \
termios.h \
unistd.h \
utime.h \
winsock.h \
winsock2.h \
)

View file

@ -22,6 +22,9 @@
#include <ac/stdlib.h>
#include <ac/errno.h>
#include <sys/stat.h>
#ifdef HAVE_UTIME_H
#include <utime.h>
#endif /* HAVE_UTIME_H */
#include "back-bdb.h"
#include <lutil.h>
#include <ldap_rq.h>

View file

@ -185,7 +185,9 @@ Entry* bdb_tool_entry_get( BackendDB *be, ID id )
{
int rc;
Entry *e = NULL;
#ifndef BDB_HIER
struct berval bv;
#endif
assert( be != NULL );
assert( slapMode & SLAP_TOOL_MODE );

View file

@ -516,7 +516,6 @@ glue_close (
BackendInfo *bi
)
{
slap_overinst *on = glue_tool_inst( bi );
static int glueClosed = 0;
int rc = 0;