aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ber.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2007-08-24 10:20:22 +0000
committerJörg Mayer <jmayer@loplof.de>2007-08-24 10:20:22 +0000
commit93f5beda8925018292886c6e388291cf536af8f3 (patch)
tree7349c568cf367248e35bedefe649d04fce647c95 /epan/dissectors/packet-ber.c
parent733f78043ee8419661693293cfd6066f56434236 (diff)
Warning fixes
svn path=/trunk/; revision=22629
Diffstat (limited to 'epan/dissectors/packet-ber.c')
-rw-r--r--epan/dissectors/packet-ber.c6
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;