From 0f0c111119811cf1c6c9353efdaaef302aca5930 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Fri, 14 Jun 2013 01:02:11 +0000 Subject: Remove check_col() and the occasional tree. svn path=/trunk/; revision=49920 --- epan/dissectors/packet-enttec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'epan/dissectors/packet-enttec.c') diff --git a/epan/dissectors/packet-enttec.c b/epan/dissectors/packet-enttec.c index f49dfbe034..048b0e1195 100644 --- a/epan/dissectors/packet-enttec.c +++ b/epan/dissectors/packet-enttec.c @@ -353,10 +353,8 @@ dissect_enttec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _ head = tvb_get_ntohl(tvb, offset); /* Clear out stuff in the info column */ - if (check_col(pinfo->cinfo,COL_INFO)) { - col_add_fstr(pinfo->cinfo, COL_INFO, "%s", + col_add_fstr(pinfo->cinfo, COL_INFO, "%s", val_to_str(head, enttec_head_vals, "Unknown (0x%08x)")); - } if (tree) { ti = proto_tree_add_item(tree, proto_enttec, tvb, offset, -1, ENC_NA); -- cgit v1.2.1