Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / epan / dissectors / packet-gnutella.c
index 992fd8a6c07ead8b99b952cfc049d3c108fc2779..bb21e1f7fa644f15485cd2a9e20c6982f4c57553 100644 (file)
@@ -524,8 +524,7 @@ static void dissect_gnutella(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
        proto_tree *gnutella_tree = NULL;
        guint32 size;
 
-       if (check_col(pinfo->cinfo, COL_PROTOCOL))
-               col_set_str(pinfo->cinfo, COL_PROTOCOL, "Gnutella");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "Gnutella");
 
        if (check_col(pinfo->cinfo, COL_INFO))
                col_clear(pinfo->cinfo, COL_INFO);