From ede433da9ba2514bcbaa49cf413f1ecb3fd23fcb Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 29 Mar 2008 01:10:04 +0000 Subject: [PATCH] Coverity CID 46: mech_type will always have the address of an automatic variable, so can never be null (GSS_C_NULL_OID). Delete null check and unreachable conditional code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20299 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/mechglue/g_dsp_status.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/gssapi/mechglue/g_dsp_status.c b/src/lib/gssapi/mechglue/g_dsp_status.c index 881bd7669..be6bc8032 100644 --- a/src/lib/gssapi/mechglue/g_dsp_status.c +++ b/src/lib/gssapi/mechglue/g_dsp_status.c @@ -121,9 +121,6 @@ gss_buffer_t status_string; if (mech && mech->gss_display_status) { OM_uint32 r; - if (mech_type == GSS_C_NULL_OID) - mech_type = &mech->mech_type; - r = mech->gss_display_status(mech->context, minor_status, status_value, status_type, mech_type, message_context, status_string); -- 2.26.2