diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-08 09:03:10 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-08 09:03:10 +0000 |
commit | 86f8805e759b40730045484eaecd414b78fe7665 (patch) | |
tree | cee975d42e0d845a6054db4fe37ca34519b30e43 /epan/dissectors/packet-smb-mailslot.c | |
parent | 225e8e532e187b1623dfbbf824706baa5c5dc820 (diff) |
coverity turned up a false positive in cid 37
smb_info is guaranteed to always be non-NULL
so the test for !=NULL (which triggered coverity) is redundant
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17517 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-smb-mailslot.c')
-rw-r--r-- | epan/dissectors/packet-smb-mailslot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb-mailslot.c b/epan/dissectors/packet-smb-mailslot.c index 9fedb35552..491cd7237c 100644 --- a/epan/dissectors/packet-smb-mailslot.c +++ b/epan/dissectors/packet-smb-mailslot.c @@ -116,7 +116,7 @@ dissect_mailslot_smb(tvbuff_t *mshdr_tvb, tvbuff_t *setup_tvb, } smb_info = pinfo->private_data; - if (smb_info != NULL && smb_info->sip != NULL && smb_info->sip->extra_info_type == SMB_EI_TRI) + if (smb_info->sip != NULL && smb_info->sip->extra_info_type == SMB_EI_TRI) tri = smb_info->sip->extra_info; else tri = NULL; |