From 8ddc5c2acbfa73f018832908bd4d02dd8420a73b Mon Sep 17 00:00:00 2001 From: pst Date: Sat, 21 Sep 1996 18:01:23 +0000 Subject: Fix some compilation warnings. --- lib/libpam/modules/pam_kerberosIV/klogin.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lib/libpam/modules') diff --git a/lib/libpam/modules/pam_kerberosIV/klogin.c b/lib/libpam/modules/pam_kerberosIV/klogin.c index 934cb91..4263786 100644 --- a/lib/libpam/modules/pam_kerberosIV/klogin.c +++ b/lib/libpam/modules/pam_kerberosIV/klogin.c @@ -67,18 +67,20 @@ klogin(pw, instance, localhost, password) char *instance, *localhost, *password; { int kerror; - AUTH_DAT authdata; - KTEXT_ST ticket; - struct hostent *hp; - unsigned long faddr; char realm[REALM_SZ], savehost[MAXHOSTNAMELEN]; char tkt_location[MAXPATHLEN]; char *krb_get_phost(); extern int noticketsdontcomplain; -#ifdef KLOGIN_PARANOID +#ifdef KLOGIN_PARANOID + AUTH_DAT authdata; + KTEXT_ST ticket; + struct hostent *hp; + unsigned long faddr; + noticketsdontcomplain = 0; /* enable warning message */ #endif + /* * Root logins don't use Kerberos. * If we have a realm, try getting a ticket-granting ticket -- cgit v1.1