forked from osmocom/wireshark
MP4: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang > 3.3
Change-Id: I0befc8846b9af43e1563adb369ba4d332775ef76 Reviewed-on: https://code.wireshark.org/review/5778 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
parent
82e63040b6
commit
9187456045
|
@ -223,7 +223,7 @@ dissect_mp4_mvhd_body(tvbuff_t *tvb, gint offset, gint len _U_,
|
|||
|
||||
vol = tvb_get_guint8(tvb, offset);
|
||||
fract_dec = tvb_get_guint8(tvb, offset+1);
|
||||
rate += make_fract(fract_dec);
|
||||
vol += make_fract(fract_dec);
|
||||
proto_tree_add_double_format_value(tree, hf_mp4_mvhd_vol,
|
||||
tvb, offset, 4, vol, "%f", vol);
|
||||
offset += 2;
|
||||
|
|
Loading…
Reference in New Issue