aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h263.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-h263.c')
-rw-r--r--epan/dissectors/packet-h263.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h263.c b/epan/dissectors/packet-h263.c
index 0a44bef650..a06b785cea 100644
--- a/epan/dissectors/packet-h263.c
+++ b/epan/dissectors/packet-h263.c
@@ -639,10 +639,8 @@ static void dissect_h263_data( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
col_append_str( pinfo->cinfo, COL_INFO, "H263 payload ");
- if( tree ) {
- h263_payload_item = proto_tree_add_item( tree, proto_h263_data, tvb, offset, -1, ENC_NA );
- h263_payload_tree = proto_item_add_subtree( h263_payload_item, ett_h263_payload );
- }
+ h263_payload_item = proto_tree_add_item( tree, proto_h263_data, tvb, offset, -1, ENC_NA );
+ h263_payload_tree = proto_item_add_subtree( h263_payload_item, ett_h263_payload );
length = tvb_reported_length_remaining(tvb,0);
if(length<4){