diff options
author | Ezra Peisach <epeisach@mit.edu> | 2009-04-12 14:09:29 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2009-04-12 14:09:29 +0000 |
commit | d159fca76f9b33eb5bbf31c92ea2fce568d76c63 (patch) | |
tree | e912ab9e47e915f5acb1279cdaa21761caea8547 /src/lib/krb5/ccache/ser_cc.c | |
parent | bff1d19a1ae6a81dd5885c2d72658e0f0c89d19e (diff) | |
download | krb5-d159fca76f9b33eb5bbf31c92ea2fce568d76c63.zip krb5-d159fca76f9b33eb5bbf31c92ea2fce568d76c63.tar.gz krb5-d159fca76f9b33eb5bbf31c92ea2fce568d76c63.tar.bz2 |
Remove dead assignment of variables that are never used
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22194 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache/ser_cc.c')
-rw-r--r-- | src/lib/krb5/ccache/ser_cc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/krb5/ccache/ser_cc.c b/src/lib/krb5/ccache/ser_cc.c index 33e7f51..882dbf7 100644 --- a/src/lib/krb5/ccache/ser_cc.c +++ b/src/lib/krb5/ccache/ser_cc.c @@ -100,7 +100,6 @@ krb5_ccache_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **bu krb5_octet *bp; size_t remain; char *ccname; - size_t namelen; const char *fnamep; required = 0; @@ -114,10 +113,7 @@ krb5_ccache_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **bu /* Our identifier */ (void) krb5_ser_pack_int32(KV5M_CCACHE, &bp, &remain); - /* Calculate the length of the name */ - namelen = ccache->ops->prefix ? strlen(ccache->ops->prefix)+1 : 0; fnamep = krb5_cc_get_name(kcontext, ccache); - namelen += (strlen(fnamep)+1); if (ccache->ops->prefix) { if (asprintf(&ccname, "%s:%s", ccache->ops->prefix, fnamep) < 0) |