aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtcp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-23 13:08:21 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-23 13:08:21 +0000
commit03370667f5aec6adda848614cf45f7de859db46c (patch)
tree026e89fcca32cc11fac61ffc67714e55e3749b00 /epan/dissectors/packet-rtcp.c
parent4cb56bae9547db2f2aede7cebea50251dcfa2c95 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48503
Diffstat (limited to 'epan/dissectors/packet-rtcp.c')
-rw-r--r--epan/dissectors/packet-rtcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rtcp.c b/epan/dissectors/packet-rtcp.c
index b43c864943..a601bb515c 100644
--- a/epan/dissectors/packet-rtcp.c
+++ b/epan/dissectors/packet-rtcp.c
@@ -1042,7 +1042,6 @@ dissect_rtcp_app( tvbuff_t *tvb,packet_info *pinfo, int offset, proto_tree *tree
val_to_str(rtcp_subtype,rtcp_app_poc1_floor_cnt_type_vals,"unknown (%u)") );
offset += 4;
packet_len -= 4;
- app_length = app_length -8;
if ( packet_len == 0 )
return offset; /* No more data */
/* Applications specific data */
@@ -3079,7 +3078,7 @@ dissect_rtcp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
if (srtcp_info->auth_tag_len) {
proto_tree_add_item(rtcp_tree, hf_srtcp_auth_tag, tvb, srtcp_offset, srtcp_info->auth_tag_len, ENC_NA);
- srtcp_offset += srtcp_info->auth_tag_len;
+ /*srtcp_offset += srtcp_info->auth_tag_len;*/
}
}
/* offset should be total_packet_length by now... */