Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / asn1 / ftam / packet-ftam-template.c
index 78d20f4335909eca9e28c30681af3e8536fc2b4e..f6985656c076642695935def47a59676dfbd5775 100644 (file)
@@ -101,8 +101,7 @@ dissect_ftam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
                item = proto_tree_add_item(parent_tree, proto_ftam, tvb, 0, -1, FALSE);
                tree = proto_item_add_subtree(item, ett_ftam);
        }
-       if (check_col(pinfo->cinfo, COL_PROTOCOL))
-               col_set_str(pinfo->cinfo, COL_PROTOCOL, "FTAM");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "FTAM");
        if (check_col(pinfo->cinfo, COL_INFO))
                col_clear(pinfo->cinfo, COL_INFO);