aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-multipart.c
diff options
context:
space:
mode:
authorgal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>2007-07-14 10:15:52 +0000
committergal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>2007-07-14 10:15:52 +0000
commita5fca3bcd9564510a961c09340631a69d282824a (patch)
treeb0818d284545c753e1951eff2366be35bb3936c9 /epan/dissectors/packet-multipart.c
parent1b730bd25fdbd9cfaa1281419650c8bed9b3bd8b (diff)
Further problem highlighted by OSX.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22314 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-multipart.c')
-rw-r--r--epan/dissectors/packet-multipart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-multipart.c b/epan/dissectors/packet-multipart.c
index 135ea44378..e2a9456c86 100644
--- a/epan/dissectors/packet-multipart.c
+++ b/epan/dissectors/packet-multipart.c
@@ -597,7 +597,7 @@ process_body_part(proto_tree *tree, tvbuff_t *tvb, const guint8 *boundary,
{
proto_tree *subtree = NULL;
proto_item *ti = NULL;
- gint offset = start, next_offset;
+ gint offset = start, next_offset = 0;
char *parameters = NULL;
gint body_start, boundary_start, boundary_line_len;