diff options
author | Dario Lombardo <lomato@gmail.com> | 2015-08-18 16:29:19 +0200 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2015-08-18 14:40:17 +0000 |
commit | db87e622980dc511422f2eed96e5e8d56747b99e (patch) | |
tree | dda99294d8e6bc5ac7bfc0cc33295db8fd5937a8 /epan/dissectors/file-pcap.c | |
parent | da6f48dc0663c5d7ea5779372a2624e687e4cfa3 (diff) |
pcap: add init value.
Found compiling with gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04).
Change-Id: I21bd3a5ab3365f0065c919aba7d6bd00b878d041
Reviewed-on: https://code.wireshark.org/review/10105
Petri-Dish: Hadriel Kaplan <hadrielk@yahoo.com>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/file-pcap.c')
-rw-r--r-- | epan/dissectors/file-pcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/file-pcap.c b/epan/dissectors/file-pcap.c index 0d229721aa..b70a686086 100644 --- a/epan/dissectors/file-pcap.c +++ b/epan/dissectors/file-pcap.c @@ -196,7 +196,7 @@ dissect_pcap_pseudoheader(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, v { gint offset = 0; guint32 *link_type; - guint32 length; + guint32 length = 0; tvbuff_t *next_tvb; proto_item *pseudoheader_item; proto_tree *pseudoheader_tree = NULL; |