forked from osmocom/wireshark
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40465
This commit is contained in:
parent
f5f6ac7cdb
commit
a3dbee44b3
|
@ -102,7 +102,6 @@ dissect_mpeg_audio_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
if (padding > 0) {
|
||||
proto_tree_add_item(tree, hf_mpeg_audio_padbytes, tvb,
|
||||
offset / 8, padding, ENC_NA);
|
||||
offset += padding * 8;
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
|
|
|
@ -514,7 +514,6 @@ dissect_mpeg_audio_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
if (padding > 0) {
|
||||
proto_tree_add_item(tree, hf_mpeg_audio_padbytes, tvb,
|
||||
offset / 8, padding, ENC_NA);
|
||||
offset += padding * 8;
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in New Issue