From 133604df1c3957fc45898a6fbab8a6193402cf4b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 31 Jan 2003 00:43:50 +0000 Subject: [PATCH] * login.c (main): Initialize 'hostname' git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15138 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 2 +- src/appl/bsd/login.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index eed0d7e17..abbabbae7 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,7 +1,7 @@ 2003-01-30 Ken Raeburn * login.c (try_krb4): Delete unused krb5 principal name argument. - (main): Don't pass it. + (main): Don't pass it. Initialize 'hostname'. 2003-01-09 Ken Raeburn diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index 095796dc3..bc63924aa 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -1060,7 +1060,7 @@ int main(argc, argv) #endif char *ccname = 0; /* name of forwarded cache */ char *tz = 0; - char *hostname; + char *hostname = 0; off_t lseek(); handler sa; -- 2.26.2