projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eccb57f
)
Coverity CID 46: mech_type will always have the address of an
author
Ken Raeburn
<raeburn@mit.edu>
Sat, 29 Mar 2008 01:10:04 +0000
(
01:10
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Sat, 29 Mar 2008 01:10:04 +0000
(
01:10
+0000)
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
patch
|
blob
|
history
diff --git
a/src/lib/gssapi/mechglue/g_dsp_status.c
b/src/lib/gssapi/mechglue/g_dsp_status.c
index 881bd7669774f121c70bf5c9e455c5b6009a26a5..be6bc8032f3330de4281140973dbf826865ba46f 100644
(file)
--- 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);