From a5fca3bcd9564510a961c09340631a69d282824a Mon Sep 17 00:00:00 2001 From: gal Date: Sat, 14 Jul 2007 10:15:52 +0000 Subject: Further problem highlighted by OSX. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22314 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-multipart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-multipart.c') 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; -- cgit v1.2.3