Don't guard col_set_str (COL_INFO) with col_check
[metze/wireshark/wip.git] / epan / dissectors / packet-sigcomp.c
index c205e6a1f13b91da3754ffef8b8e9cd297ac6376..121174f240d79d1f20e30ded1d889e3f86ba96ae 100644 (file)
@@ -660,8 +660,7 @@ dissect_sigcomp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sigcomp_tr
                /*
                 * Message format 1
                 */
-               if (check_col(pinfo->cinfo, COL_INFO))
-                       col_set_str(pinfo->cinfo, COL_INFO, "Msg format 1");
+               col_set_str(pinfo->cinfo, COL_INFO, "Msg format 1");
 
                if ( tbit == 1 ) {
                        /*
@@ -803,8 +802,7 @@ dissect_sigcomp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sigcomp_tr
                /*
                 * Message format 2
                 */
-       if (check_col(pinfo->cinfo, COL_INFO))
-               col_set_str(pinfo->cinfo, COL_INFO, "Msg format 2");
+       col_set_str(pinfo->cinfo, COL_INFO, "Msg format 2");
                if ( tbit == 1 ) {
                        /*
                         * Returned feedback item exists