summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login_auth.c
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-01-29 06:11:31 +0000
committerdavidn <davidn@FreeBSD.org>1997-01-29 06:11:31 +0000
commit960d5c29b49eafda28b8c64dfb2eef6f0a3ecb4d (patch)
tree14dcd42123d00299230bf76d483ed35181c4c567 /lib/libutil/login_auth.c
parent9b241a5043e7c038fadd8169e723df93bb558cb3 (diff)
downloadFreeBSD-src-960d5c29b49eafda28b8c64dfb2eef6f0a3ecb4d.zip
FreeBSD-src-960d5c29b49eafda28b8c64dfb2eef6f0a3ecb4d.tar.gz
Added -Wall to CFLAGS, cleaned up (all avoidable) warnings.
Diffstat (limited to 'lib/libutil/login_auth.c')
-rw-r--r--lib/libutil/login_auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libutil/login_auth.c b/lib/libutil/login_auth.c
index e54a5dc..a625b65 100644
--- a/lib/libutil/login_auth.c
+++ b/lib/libutil/login_auth.c
@@ -75,7 +75,6 @@ static void
free_auth_info(void)
{
int i;
- char *ptr;
auth_info.reject = 0;
auth_info.auths = 0;
@@ -285,6 +284,7 @@ auth_env(void)
}
setenv(nam, ptr, 1);
}
+ return 0;
}
@@ -327,6 +327,7 @@ auth_rmfiles(void)
free(auth_info.files[i]);
auth_info.files[i] = NULL;
}
+ return 0;
}
OpenPOWER on IntegriCloud