aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcp-etsi.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2013-01-16 21:57:34 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2013-01-16 21:57:34 +0000
commit530de5ae9753085e090c0b42963773af83eb3bb0 (patch)
treee916c79ffa65d37b4c0b912342fef64961516f8b /epan/dissectors/packet-dcp-etsi.c
parent8d41249753b36f2c824cd6165d17ae7f4dd01299 (diff)
no need for if (tree)
svn path=/trunk/; revision=47125
Diffstat (limited to 'epan/dissectors/packet-dcp-etsi.c')
-rw-r--r--epan/dissectors/packet-dcp-etsi.c3
1 files changed, 1 insertions, 2 deletions
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<fragments; i++) {
guint next_fragment_we_have = got[i];
if (next_fragment_we_have > 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) {