From: Ezra Peisach Date: Thu, 7 Jun 2001 17:48:07 +0000 (+0000) Subject: * ser_sctx.c (kg_oid_internalize): Do away with local variable X-Git-Tag: krb5-1.3-alpha1~1467 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f6cfae7decfabebd695e8cae745256b7daba3f94;p=krb5.git * ser_sctx.c (kg_oid_internalize): Do away with local variable that was set but never used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13288 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index dae9eb155..98e13a187 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,8 @@ +2001-06-07 Ezra Peisach + + * ser_sctx.c (kg_oid_internalize): Do away with local variable + that was set but never used. + 2001-06-04 Ezra Peisach * accept_sec_context.c (krb5_gss_accept_sec_context): Cleanup diff --git a/src/lib/gssapi/krb5/ser_sctx.c b/src/lib/gssapi/krb5/ser_sctx.c index 781e8ee14..e18d0e58d 100644 --- a/src/lib/gssapi/krb5/ser_sctx.c +++ b/src/lib/gssapi/krb5/ser_sctx.c @@ -68,7 +68,6 @@ kg_oid_internalize(kcontext, argp, buffer, lenremain) krb5_octet **buffer; size_t *lenremain; { - krb5_error_code kret; gss_OID oid; krb5_int32 ibuf; krb5_octet *bp; @@ -78,7 +77,7 @@ kg_oid_internalize(kcontext, argp, buffer, lenremain) remain = *lenremain; /* Read in and check our magic number */ - if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain))) + if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) return (EINVAL); if (ibuf != KV5M_GSS_OID) @@ -98,7 +97,7 @@ kg_oid_internalize(kcontext, argp, buffer, lenremain) oid->length, &bp, &remain); /* Read in and check our trailing magic number */ - if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain))) + if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) return (EINVAL); if (ibuf != KV5M_GSS_OID)