From dfa2156e301539929a12dda54752c778c3ee7a39 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Fri, 14 Jun 2013 02:50:46 +0000 Subject: Remove check_col() and the occasional tree. svn path=/trunk/; revision=49923 --- epan/dissectors/packet-wbxml.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'epan/dissectors/packet-wbxml.c') diff --git a/epan/dissectors/packet-wbxml.c b/epan/dissectors/packet-wbxml.c index cb05adff6d..30e2cd4e59 100644 --- a/epan/dissectors/packet-wbxml.c +++ b/epan/dissectors/packet-wbxml.c @@ -7027,8 +7027,7 @@ dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, /* Put some information here, so that the user knows what's going on. */ /* Add summary to INFO column if it is enabled */ - if (check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, " (Unknown WBXML version 0x%02x)", version); + col_append_fstr(pinfo->cinfo, COL_INFO, " (Unknown WBXML version 0x%02x)", version); ti = proto_tree_add_item (tree, proto_wbxml, tvb, 0, -1, ENC_NA); proto_item_append_text(ti, ", Unknown version 0x%02x", version); return; @@ -7085,8 +7084,7 @@ dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, } /* Add summary to INFO column if it is enabled */ - if (check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, " (WBXML %s)", summary); + col_append_fstr(pinfo->cinfo, COL_INFO, " (WBXML %s)", summary); /* create display subtree for the protocol */ ti = proto_tree_add_item (tree, proto_wbxml, tvb, 0, -1, ENC_NA); -- cgit v1.2.3