diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-01-13 21:27:44 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-01-13 21:27:44 +0000 |
commit | 04d526a9146e4a1909c4ccd8a46976d97dfd4b93 (patch) | |
tree | 830e15b5dde8909330b33fea591aa2e7391e023c /asn1/h245/packet-h245-template.c | |
parent | 526891f1b4166f3bc02a16df86375c8e8cb288da (diff) |
check_col.diff
Remove redundant calls to check_col() in the template files and regenerate.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394
svn path=/trunk/; revision=31521
Diffstat (limited to 'asn1/h245/packet-h245-template.c')
-rw-r--r-- | asn1/h245/packet-h245-template.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/asn1/h245/packet-h245-template.c b/asn1/h245/packet-h245-template.c index c29eb89115..1c8bf38cfb 100644 --- a/asn1/h245/packet-h245-template.c +++ b/asn1/h245/packet-h245-template.c @@ -411,9 +411,7 @@ dissect_h245_h245(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) upcoming_channel = NULL; codec_type = NULL; - if (check_col(pinfo->cinfo, COL_PROTOCOL)){ - col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); - } + col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); it=proto_tree_add_protocol_format(parent_tree, proto_h245, tvb, 0, tvb_length(tvb), PSNAME); tr=proto_item_add_subtree(it, ett_h245); |