* login.c (main): Initialize 'hostname'
authorKen Raeburn <raeburn@mit.edu>
Fri, 31 Jan 2003 00:43:50 +0000 (00:43 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 31 Jan 2003 00:43:50 +0000 (00:43 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15138 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/login.c

index eed0d7e17d5cf017ca6f7f4a83803d91f6277d5e..abbabbae7f46e6351da0f5d1ec601c7b449c18fe 100644 (file)
@@ -1,7 +1,7 @@
 2003-01-30  Ken Raeburn  <raeburn@mit.edu>
 
        * 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  <raeburn@mit.edu>
 
index 095796dc3b1333837a43b3f1e0e428688b269a69..bc63924aae95065abb9466ef1c78d56af6331206 100644 (file)
@@ -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;