Assign a default value to temp_tree;

svn path=/trunk/; revision=45871
This commit is contained in:
Anders Broman 2012-11-02 11:15:29 +00:00
parent 4d83f6f557
commit df1fe6422e
1 changed files with 3 additions and 0 deletions

View File

@ -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: