* walk_rtree.c (krb5_walk_realm_tree): Initialize slen to silence compiler warning
authorKen Raeburn <raeburn@mit.edu>
Tue, 21 Aug 2001 23:41:54 +0000 (23:41 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 21 Aug 2001 23:41:54 +0000 (23:41 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13683 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/walk_rtree.c

index 4009fb29ad151df17e09c60ddb678f39aec46edd..7f156034e428a86f2a125724d534a5892a98a2fa 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-21  Ken Raeburn  <raeburn@mit.edu>
+
+       * walk_rtree.c (krb5_walk_realm_tree): Initialize slen to silence
+       compiler warning.
+
 2001-08-08    <epeisach@mit.edu>
 
        * walk_rtree.c (krb5_walk_realm_tree): Do not try to free const char *.
index a3a7ee2bf953c947e02f8295a282d467cddbc3e8..b8160fdcc45f00430b020fe3b185a4d4d39c3a1d 100644 (file)
@@ -106,7 +106,7 @@ krb5_walk_realm_tree(context, client, server, tree, realm_branch_char)
     register char *prevccp = 0, *prevscp = 0;
     char *com_sdot = 0, *com_cdot = 0;
     register int i, links = 0;
-    int clen, slen;
+    int clen, slen = -1;
     krb5_data tmpcrealm, tmpsrealm;
     int nocommon = 1;