Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / epan / dissectors / packet-armagetronad.c
index d7f0d67abefae6272a6d19f9972c796a1c410658..3483e010b072cdd4fc6fede16d12fae6622e62b2 100644 (file)
@@ -242,8 +242,7 @@ dissect_armagetronad(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
 
        info = check_col(pinfo->cinfo, COL_INFO) ? g_string_new("") : NULL;
 
-       if (check_col(pinfo->cinfo, COL_PROTOCOL))
-               col_set_str(pinfo->cinfo, COL_PROTOCOL, "Armagetronad");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "Armagetronad");
 
        if (info)
                col_clear(pinfo->cinfo, COL_INFO);