aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ymsg.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-06-14 19:46:54 +0000
committerMichael Mann <mmann78@netscape.net>2013-06-14 19:46:54 +0000
commitf42e5bc9c0eb6c0e228018711694c80cdc5bc5c1 (patch)
treec84185fcaa21ac4b694206b5d263a78a22bea491 /epan/dissectors/packet-ymsg.c
parentc5d092ec3a228d55fcedd88d86f78006abbd7064 (diff)
Remove check_col() and the occasional tree.
This leaves just the Pidl dissectors remaining for removal of check_col() in the dissectors directory. A small handful of check_col() calls remain outside of the dissectors. svn path=/trunk/; revision=49941
Diffstat (limited to 'epan/dissectors/packet-ymsg.c')
-rw-r--r--epan/dissectors/packet-ymsg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ymsg.c b/epan/dissectors/packet-ymsg.c
index 1a997f6c3b..63c21c89f5 100644
--- a/epan/dissectors/packet-ymsg.c
+++ b/epan/dissectors/packet-ymsg.c
@@ -390,15 +390,13 @@ dissect_ymsg_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_PROTOCOL, "YMSG");
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_add_fstr(pinfo->cinfo, COL_INFO,
+ col_add_fstr(pinfo->cinfo, COL_INFO,
"%s (status=%s) ",
val_to_str(tvb_get_ntohs(tvb, offset + 10),
ymsg_service_vals, "Unknown Service: %u"),
val_to_str(tvb_get_ntohl(tvb, offset + 12),
ymsg_status_vals, "Unknown Status: %u")
);
- }
if (tree) {
ti = proto_tree_add_item(tree, proto_ymsg, tvb, offset, -1, ENC_NA);