From 530de5ae9753085e090c0b42963773af83eb3bb0 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Wed, 16 Jan 2013 21:57:34 +0000 Subject: no need for if (tree) svn path=/trunk/; revision=47125 --- epan/dissectors/packet-dcp-etsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'epan/dissectors/packet-dcp-etsi.c') diff --git a/epan/dissectors/packet-dcp-etsi.c b/epan/dissectors/packet-dcp-etsi.c index 970ccba24f..d63b7bd8db 100644 --- a/epan/dissectors/packet-dcp-etsi.c +++ b/epan/dissectors/packet-dcp-etsi.c @@ -315,8 +315,7 @@ dissect_pft_fec_detailed(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, for(i=0; i MAX_FRAGMENTS) { - if (tree) - proto_tree_add_text(tree, tvb , 0, -1, "[Reassembly of %d fragments not attempted]", next_fragment_we_have); + proto_tree_add_text(tree, tvb , 0, -1, "[Reassembly of %d fragments not attempted]", next_fragment_we_have); return NULL; } if (next_fragment_we_have-current_findex > MAX_FRAG_GAP) { -- cgit v1.2.3