Text   |  XML   |  ReML   |   Visible Warnings:

Empty switch Statement  at packet-tpncp.c:350

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

dissect_tpncp_command

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-tpncp.c)expand/collapse
Show more  
 340          default:
 341              dissect_tpncp_data(event_id, tvb, item, offset, tpncp_events_info_db);
 342              break;
 343      }
 344  }
 345   
 346  /*-------------------------------------------------------------------------------------------------------------------------------------------*/
 347   
 348  static void dissect_tpncp_command(gint command_id, tvbuff_t *tvb,
 349                                    proto_item *item, gint *offset) {
 350      switch (command_id) {
 351          /* Place non-standard commands here. */
 352          default:
 353              dissect_tpncp_data(command_id, tvb, item, offset, tpncp_commands_info_db);
 354              break;
 355      }
 356  }
 357   
 358  /*-------------------------------------------------------------------------------------------------------------------------------------------*/
 359   
 360  static void dissect_tpncp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
Show more  




Change Warning 76.27501 : Empty switch Statement

Priority:
State:
Finding:
Owner:
Note: