From Didier Gautheron:
[obnox/wireshark/wip.git] / epan / dissectors / packet-vcdu.c
index 0f3db99d5115b5ca48dd95153defda601871833f..146981f0dcd018e5ad507537428652c65df4b6f4 100644 (file)
@@ -299,7 +299,7 @@ dissect_vcdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "VCDU");
        col_set_str(pinfo->cinfo, COL_INFO, "Virtual Channel Data Unit");
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "VCDU");
        col_set_str(pinfo->cinfo, COL_INFO, "Virtual Channel Data Unit");
 
-       if (tree) {
+       {
                 /* build the smex header tree */
                smex_header=proto_tree_add_text(tree, tvb, offset, SMEX_HEADER_LENGTH, "SMEX Header");
                smex_tree=proto_item_add_subtree(smex_header, ett_smex);
                 /* build the smex header tree */
                smex_header=proto_tree_add_text(tree, tvb, offset, SMEX_HEADER_LENGTH, "SMEX Header");
                smex_tree=proto_item_add_subtree(smex_header, ett_smex);