From 0a5b014cecf14ec1bea5c87b0ffb5c2f7fa366a1 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 9 Aug 2009 07:36:13 +0000 Subject: Don't guard col_clear with col_check svn path=/trunk/; revision=29344 --- asn1/ros/packet-ros-template.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'asn1/ros') diff --git a/asn1/ros/packet-ros-template.c b/asn1/ros/packet-ros-template.c index 3b8c3d24ea..244e373f22 100644 --- a/asn1/ros/packet-ros-template.c +++ b/asn1/ros/packet-ros-template.c @@ -443,8 +443,7 @@ dissect_ros(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) tree = proto_item_add_subtree(item, ett_ros); } col_set_str(pinfo->cinfo, COL_PROTOCOL, "ROS"); - if (check_col(pinfo->cinfo, COL_INFO)) - col_clear(pinfo->cinfo, COL_INFO); + col_clear(pinfo->cinfo, COL_INFO); while (tvb_reported_length_remaining(tvb, offset) > 0){ old_offset=offset; -- cgit v1.2.3