From: Ken Raeburn Date: Thu, 15 May 2008 23:06:12 +0000 (+0000) Subject: Don't test error code when it's known to be 0 X-Git-Tag: krb5-1.7-alpha1~682 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c0491b595a680a250f964e7ebaf28126c5653fe;p=thirdparty%2Fkrb5.git Don't test error code when it's known to be 0 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20319 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c index 0bb48b65c8..1e4f0bf9c4 100644 --- a/src/lib/gssapi/krb5/lucid_context.c +++ b/src/lib/gssapi/krb5/lucid_context.c @@ -1,7 +1,7 @@ /* * lib/gssapi/krb5/lucid_context.c * - * Copyright 2004 by the Massachusetts Institute of Technology. + * Copyright 2004, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may @@ -89,8 +89,6 @@ gss_krb5int_export_lucid_sec_context( } ctx = (krb5_gss_ctx_id_t) *context_handle; - if (kret) - goto error_out; /* Externalize a structure of the right version */ switch (version) {