]> git.sur5r.net Git - openldap/commitdiff
silence warnings
authorPierangelo Masarati <ando@openldap.org>
Sat, 31 Aug 2002 10:54:58 +0000 (10:54 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 31 Aug 2002 10:54:58 +0000 (10:54 +0000)
libraries/liblutil/passfile.c

index 44c73a662513a234381b5ec49edbe6f138f62ffa..f31466aea2e97bffe6bb7504698723f68681d2cf 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <stdio.h>
 
+#include <ac/stdlib.h>
 #include <ac/ctype.h>
 #include <ac/string.h>
 
@@ -25,7 +26,6 @@ lutil_get_filed_password(
        const char *filename,
        struct berval *passwd )
 {
-       int rc;
        size_t nread, nleft, nr;
        FILE *f = fopen( filename, "r" );