Text   |  XML   |  ReML   |   Visible Warnings:

Empty switch Statement  at packet-wlccp.c:3027

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

dissect_wlccp_mip_tlv

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-wlccp.c)expand/collapse
Show more  
 3017          } /* switch _type_id */
 3018   
 3019   
 3020          return(_offset);
 3021   
 3022  } /* dissect_wlccp_nm_tlv */
 3023   
 3024  static guint dissect_wlccp_mip_tlv(proto_tree *_tree, tvbuff_t *_tvb, guint _offset, gint _type_id, guint _length, proto_item *_ti)
 3025  {
 3026   
 3027          switch (_type_id)
 3028          {
 3029   
 3030   
 3031                  default:  
 3032                  {
 3033                  /* for unknown types, just add them to the tree as a blob */
 3034                          proto_item_append_text(_ti, "     Unknown");
 3035   
 3036                          proto_tree_add_item(_tree, hf_wlccp_tlv_unknown_value, _tvb, _offset, _length, FALSE);
 3037                          _offset += _length;
Show more  




Change Warning 80.27525 : Empty switch Statement

Priority:
State:
Finding:
Owner:
Note: