diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-05-30 21:00:05 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-05-30 21:00:05 +0000 |
commit | 923446f1f5dc54a27bee05d57fdfab3cbe8ade47 (patch) | |
tree | 8510a696179535656673222044b8b65b97947803 /epan | |
parent | 861dc4e340774832b383257016e84e2e00adc300 (diff) |
From Steve Grubb: Initialize some variables. Fixes part of bug 217.
svn path=/trunk/; revision=14497
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ieee8023.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-isl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ieee8023.c b/epan/dissectors/packet-ieee8023.c index 337e3f3a37..3f717ad24e 100644 --- a/epan/dissectors/packet-ieee8023.c +++ b/epan/dissectors/packet-ieee8023.c @@ -41,8 +41,8 @@ dissect_802_3(int length, gboolean is_802_2, tvbuff_t *tvb, proto_tree *fh_tree, int length_id, int trailer_id, int fcs_len) { - tvbuff_t *volatile next_tvb; - tvbuff_t *volatile trailer_tvb; + tvbuff_t *volatile next_tvb = NULL; + tvbuff_t *volatile trailer_tvb = NULL; const char *saved_proto; if (fh_tree) diff --git a/epan/dissectors/packet-isl.c b/epan/dissectors/packet-isl.c index 5372c0c6a7..66ef0c3984 100644 --- a/epan/dissectors/packet-isl.c +++ b/epan/dissectors/packet-isl.c @@ -152,9 +152,9 @@ dissect_isl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int fcs_len) guint8 type; volatile guint16 length; gint captured_length; - tvbuff_t *volatile payload_tvb; + tvbuff_t *volatile payload_tvb = NULL; tvbuff_t *volatile next_tvb; - tvbuff_t *volatile trailer_tvb; + tvbuff_t *volatile trailer_tvb = NULL; const char *saved_proto; if (check_col(pinfo->cinfo, COL_PROTOCOL)) |