diff options
author | Jörg Mayer <jmayer@loplof.de> | 2007-08-24 10:20:22 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2007-08-24 10:20:22 +0000 |
commit | 93f5beda8925018292886c6e388291cf536af8f3 (patch) | |
tree | 7349c568cf367248e35bedefe649d04fce647c95 /epan/dissectors/packet-ber.c | |
parent | 733f78043ee8419661693293cfd6066f56434236 (diff) |
Warning fixes
svn path=/trunk/; revision=22629
Diffstat (limited to 'epan/dissectors/packet-ber.c')
-rw-r--r-- | epan/dissectors/packet-ber.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c index 8025acbe59..67ae44ef0a 100644 --- a/epan/dissectors/packet-ber.c +++ b/epan/dissectors/packet-ber.c @@ -1320,7 +1320,8 @@ int dissect_ber_sequence(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *pa proto_tree *tree = parent_tree; proto_item *item = NULL; proto_item *cause; - int end_offset, s_offset; + int end_offset = 0; + int s_offset; int hoffset; gint length_remaining; tvbuff_t *next_tvb; @@ -1649,7 +1650,8 @@ int dissect_ber_old_sequence(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree proto_tree *tree = parent_tree; proto_item *item = NULL; proto_item *cause; - int end_offset, s_offset; + int end_offset = 0; + int s_offset; int hoffset; gint length_remaining; tvbuff_t *next_tvb; |