aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-09-18 02:17:24 +0000
committerEvan Huus <eapache@gmail.com>2012-09-18 02:17:24 +0000
commit15dca08b65b4c898edcbc0c3acc1eb6439f1630f (patch)
treedb9c0e08b34e2171387984de27609e81235f6cb1 /epan
parent7d31b63dbcf0429ac65495d75dc51d13d69c13f0 (diff)
Fix uninitialized value warnings from GCC.
svn path=/trunk/; revision=44966
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-wps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-wps.c b/epan/dissectors/packet-wps.c
index efedb65eae..c717c2d846 100644
--- a/epan/dissectors/packet-wps.c
+++ b/epan/dissectors/packet-wps.c
@@ -882,9 +882,9 @@ dissect_wps_tlvs(proto_tree *eap_tree, tvbuff_t *tvb, int offset,
guint tlv_len;
guint16 tlv_type;
- proto_item *tlv_item; /* the root item */
- proto_tree *tlv_root;
- proto_item *tmp_item;
+ proto_item *tlv_item = NULL; /* the root item */
+ proto_tree *tlv_root = NULL;
+ proto_item *tmp_item = NULL;
int hfindex = -1;