From 7c0491b595a680a250f964e7ebaf28126c5653fe Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 15 May 2008 23:06:12 +0000 Subject: [PATCH] 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 --- src/lib/gssapi/krb5/lucid_context.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c index 0bb48b65c..1e4f0bf9c 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) { -- 2.26.2