diff options
author | Anders Broman <anders.broman@ericsson.com> | 2019-05-09 13:18:24 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-05-09 12:03:07 +0000 |
commit | 5b0f937c5e23a1d6e5ef28b0f21520f71c768799 (patch) | |
tree | 1f9292ce75b6b4f12cdb26b871a48054903d2e6d /epan | |
parent | 991512c62f658c27c97d34d330bbfdaf566c902d (diff) |
oer: Fix uninitialized variable warning iussed by VS 2019.
Change-Id: Idc02cae832b2416a050f0321ddd9df004fbba051
Reviewed-on: https://code.wireshark.org/review/33131
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-oer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-oer.c b/epan/dissectors/packet-oer.c index 152dccf207..7dbc9b112d 100644 --- a/epan/dissectors/packet-oer.c +++ b/epan/dissectors/packet-oer.c @@ -314,7 +314,7 @@ dissect_oer_constrained_integer_64b_no_ub(tvbuff_t *tvb, guint32 offset, asn1_ct guint32 dissect_oer_integer(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index, gint32 *value) { - guint32 val, length; + guint32 val = 0, length; /* 10.4 e) (the effective value constraint has a lower bound less than -263, no lower bound, * an upper bound greater than 2 exp 63-1, or no upper bound) every value of the integer type * shall be encoded as a length determinant (see 8.6) followed by a variable-size signed number |