]> git.sur5r.net Git - openldap/commitdiff
Cleanup lint
authorHoward Chu <hyc@openldap.org>
Fri, 11 Jan 2002 06:56:24 +0000 (06:56 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 11 Jan 2002 06:56:24 +0000 (06:56 +0000)
libraries/liblutil/debug.c
libraries/liblutil/uuid.c

index df5b3e41dfafd7ba4bbc79add1ed4c88ef8405e8..6cebce7da93b87b62589ced587b7fae7f82dd306 100644 (file)
@@ -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 */
index e303f3d174b23b411f6ba80f0a3f90d146a4e4fb..9c6c0fd548806e01cff0dc48b1319077a9aa09cc 100644 (file)
@@ -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;
 
        /*