diff options
Diffstat (limited to 'src/lib/krb5/krb')
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/krb5/krb/walk_rtree.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 4009fb29ad..7f156034e4 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -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 *. diff --git a/src/lib/krb5/krb/walk_rtree.c b/src/lib/krb5/krb/walk_rtree.c index a3a7ee2bf9..b8160fdcc4 100644 --- a/src/lib/krb5/krb/walk_rtree.c +++ b/src/lib/krb5/krb/walk_rtree.c @@ -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; |