diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2014-11-11 20:48:39 -0500 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2014-11-12 01:49:51 +0000 |
commit | cfd71d7c2a736e2a4b65e6119778148808abe2fe (patch) | |
tree | 132f05bbf2c363ab61a145d64314e9fc50a9973b | |
parent | ea5b2343c683b3ef61b9e4904bae6ac4afb2c525 (diff) |
Fix a couple of (AFAICS false) may-be-used-uninitialized warnings that show up
on the OSX 10.5 buildbot.
Change-Id: I49e066feab8b980ea85371095234e96e89db71e1
Reviewed-on: https://code.wireshark.org/review/5247
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
-rw-r--r-- | epan/dissectors/packet-gtp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c index 876b4c5783..68cf4ae86b 100644 --- a/epan/dissectors/packet-gtp.c +++ b/epan/dissectors/packet-gtp.c @@ -4212,12 +4212,10 @@ decode_qos_umts(tvbuff_t * tvb, int offset, proto_tree * tree, const gchar * qos guint8 al_ret_priority; guint8 delay, reliability, peak, precedence, mean, spare1, spare2, spare3; guint8 traf_class, del_order, del_err_sdu; - guint8 max_sdu_size, max_ul, max_dl, max_ul_ext, max_dl_ext, max_ul_ext2; - guint8 max_dl_ext2 = 0; + guint8 max_sdu_size, max_ul, max_dl, max_ul_ext, max_dl_ext, max_ul_ext2 = 0, max_dl_ext2 = 0; guint8 res_ber, sdu_err_ratio; guint8 trans_delay, traf_handl_prio; - guint8 guar_ul, guar_dl, guar_ul_ext, guar_dl_ext, guar_ul_ext2; - guint8 guar_dl_ext2 = 0; + guint8 guar_ul, guar_dl, guar_ul_ext, guar_dl_ext, guar_ul_ext2 = 0, guar_dl_ext2 = 0; guint8 src_stat_desc, sig_ind; proto_tree *ext_tree_qos, *ext_tree_qos_arp; int mss, mu, md, gu, gd; |