From ac463d2697d3beb50fd24bbf48f818724f5220f6 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 9 Aug 2009 08:14:59 +0000 Subject: Don't guard col_clear with col_check svn path=/trunk/; revision=29346 --- epan/dissectors/packet-dplay.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'epan/dissectors/packet-dplay.c') diff --git a/epan/dissectors/packet-dplay.c b/epan/dissectors/packet-dplay.c index 7193d31ba2..2303fc2e14 100644 --- a/epan/dissectors/packet-dplay.c +++ b/epan/dissectors/packet-dplay.c @@ -1039,10 +1039,7 @@ static void dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "DPLAY"); /* Clear out stuff in the info column */ - if(check_col(pinfo->cinfo,COL_INFO)) - { - col_clear(pinfo->cinfo,COL_INFO); - } + col_clear(pinfo->cinfo, COL_INFO); if(check_col(pinfo->cinfo,COL_INFO)) { -- cgit v1.2.3