summaryrefslogtreecommitdiff
path: root/plugins/ethercat/packet-ecatmb.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-10-09 07:24:33 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-10-09 07:24:33 +0000
commit4d2e653901ab7bb17c9ed3269a930569d8ada5eb (patch)
tree042347d5d4c01107ff02979c33de22a372f7ff69 /plugins/ethercat/packet-ecatmb.c
parent46aa5c44de5b62cc061840b29903a63bc3790445 (diff)
downloadwireshark-4d2e653901ab7bb17c9ed3269a930569d8ada5eb.tar.gz
From Didier Gautheron:
Dissectors using call_dissector() function inside a 'if (tree) {}' block. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107 svn path=/trunk/; revision=30415
Diffstat (limited to 'plugins/ethercat/packet-ecatmb.c')
-rw-r--r--plugins/ethercat/packet-ecatmb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/ethercat/packet-ecatmb.c b/plugins/ethercat/packet-ecatmb.c
index 13dc5072eb..37b549c30a 100644
--- a/plugins/ethercat/packet-ecatmb.c
+++ b/plugins/ethercat/packet-ecatmb.c
@@ -1043,7 +1043,6 @@ static void dissect_ecat_eoe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro
col_append_str(pinfo->cinfo, COL_INFO, szText);
}
- if( tree )
{
ecat_eoe_tree = proto_item_add_subtree(anItem, ett_ecat_mailbox_eoe);