aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ber.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-24 10:20:22 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-24 10:20:22 +0000
commit3a99a4f5f9e1f580dcee2729f9eacb7e87d2070e (patch)
tree7349c568cf367248e35bedefe649d04fce647c95 /epan/dissectors/packet-ber.c
parentabc2b5c70066d15e4d9992c1e9fe6c173bdcd2a2 (diff)
Warning fixes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22629 f5534014-38df-0310-8fa8-9805f1628bb7
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;