From: Howard Chu Date: Fri, 11 Jan 2002 06:56:24 +0000 (+0000) Subject: Cleanup lint X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~196 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=914f33fc9a35bd32a610b0c4c9d7349d2092cfd9;p=openldap Cleanup lint --- diff --git a/libraries/liblutil/debug.c b/libraries/liblutil/debug.c index df5b3e41df..6cebce7da9 100644 --- a/libraries/liblutil/debug.c +++ b/libraries/liblutil/debug.c @@ -115,8 +115,10 @@ void lutil_log_int( const char *subsys, int level, const char *fmt, va_list vl ) { +#ifdef HAVE_WINSOCK time_t now; struct tm *today; +#endif int i; if ( levelArray == NULL ) return; /* logging isn't set up */ diff --git a/libraries/liblutil/uuid.c b/libraries/liblutil/uuid.c index e303f3d174..9c6c0fd548 100644 --- a/libraries/liblutil/uuid.c +++ b/libraries/liblutil/uuid.c @@ -236,7 +236,7 @@ lutil_uuidstr( char *buf, size_t len ) struct timeval tv; unsigned long long tl; unsigned char *nl; - unsigned short t2, t3, s1, n1, n2, n3; + unsigned short t2, t3, s1; unsigned int t1; /*