diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-23 07:25:08 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-23 07:25:08 +0000 |
commit | f4e7597aa93d3d9eb84c39a30c5cfc12129189d1 (patch) | |
tree | f01c20b333ad6f2dc79e6d43d21f7f4536eac110 /epan/dissectors/packet-dcm.c | |
parent | c39d82ebfc0779ed60bbeeece85b01bf8658a197 (diff) |
Removed "comparing an array to null", with no effect.
Coverity 532.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36279 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcm.c')
-rw-r--r-- | epan/dissectors/packet-dcm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcm.c b/epan/dissectors/packet-dcm.c index 0c7f258bb1..eddcc682c4 100644 --- a/epan/dissectors/packet-dcm.c +++ b/epan/dissectors/packet-dcm.c @@ -4343,8 +4343,7 @@ dcm_export_create_object(packet_info *pinfo, dcm_state_assoc_t *assoc, dcm_state pctx=dcm_state_pctx_get(assoc, pdv_curr->pctx_id, FALSE); - if (assoc->ae_calling && strlen(assoc->ae_calling)>0 && - assoc->ae_called && strlen(assoc->ae_called)>0 ) { + if (strlen(assoc->ae_calling)>0 && strlen(assoc->ae_called)>0 ) { hostname = ep_strdup_printf("%s <-> %s", assoc->ae_calling, assoc->ae_called); } else { |