aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-11-02 11:15:29 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-11-02 11:15:29 +0000
commitdf1fe6422ed8802a0e3c4382e1f437e2e7db37b8 (patch)
treeb78e325d042d776639767856b5b6b2b3304f525e /epan
parent4d83f6f557683a82de6e1f94d7d29c6b3a6d2cfa (diff)
Assign a default value to temp_tree;
svn path=/trunk/; revision=45871
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-lldp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lldp.c b/epan/dissectors/packet-lldp.c
index b67990932a..c8d0a51a17 100644
--- a/epan/dissectors/packet-lldp.c
+++ b/epan/dissectors/packet-lldp.c
@@ -2433,6 +2433,9 @@ dissect_organizational_specific_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tre
ouiStr = uint_get_manuf_name_if_known(oui);
if(ouiStr==NULL) ouiStr="Unknown";
}
+
+ /* Set a default value */
+ tempTree = ett_org_spc_ProfinetSubTypes_1;
switch(oui)
{
case OUI_IEEE_802_1: