Text   |  XML   |  ReML   |   Visible Warnings:

Empty switch Statement  at packet-pn-dcp.c:756

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_PNDCP_Suboption_Manuf

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-pn-dcp.c)expand/collapse
Show more  
 746                              proto_tree *tree, proto_item *block_item, proto_item *dcp_item,
 747                              guint8 service_id _U_, gboolean is_response _U_)
 748  {
 749      guint8 suboption;
 750      guint16 block_length;
 751   
 752   
 753      offset = dissect_pn_uint8(tvb, offset, pinfo, tree, hf_pn_dcp_suboption_manuf, &suboption);
 754      offset = dissect_pn_uint16(tvb, offset, pinfo, tree, hf_pn_dcp_block_length, &block_length);
 755   
 756      switch(suboption) {
 757      default:
 758          pn_append_info(pinfo, dcp_item, ", Manufacturer Specific");
 759          proto_item_append_text(block_item, "Manufacturer Specific");
 760          offset = dissect_pn_undecoded(tvb, offset, pinfo, tree, block_length);  
 761      }
 762   
 763      return offset;
 764  }
 765   
 766   
Show more  




Change Warning 89.27814 : Empty switch Statement

Priority:
State:
Finding:
Owner:
Note: