QUIC: fix 'num_ts' may be used uninitialized in this function [-Werror=maybe-uninitialized]
with some old (and buggy) compiler (gcc 4.8.5) Change-Id: Ie5e4f71d3f4a12f786f2c8b139bba7a0688a8d29 Reviewed-on: https://code.wireshark.org/review/24973 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
386f354f87
commit
5bb5158b2e
|
@ -468,7 +468,7 @@ dissect_quic_frame_type(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *quic_
|
|||
|
||||
} else if (frame_type >= FT_ACK_MIN && frame_type <= FT_ACK_MAX ){
|
||||
guint32 len_largest_acknowledged = 0, len_ack_block = 0;
|
||||
guint8 num_blocks = 0, num_ts;
|
||||
guint8 num_blocks = 0, num_ts = 0;
|
||||
|
||||
ftflags_tree = proto_item_add_subtree(ti_ftflags, ett_quic_ftflags);
|
||||
proto_tree_add_item(ftflags_tree, hf_quic_frame_type_ack, tvb, offset, 1, ENC_NA);
|
||||
|
|
Loading…
Reference in New Issue