(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-tpncp.c) |
| |
| 328 | | | if (tvb_length_remaining(tvb, *offset) <= 0) { |
| 329 | | | break; |
| 330 | | | } |
| 331 | | | } |
| 332 | | | } |
| 333 | | | |
| 334 | | | |
| 335 | | | |
| 336 | | | static void dissect_tpncp_event(gint event_id, tvbuff_t *tvb, |
| 337 | | | proto_item *item, gint *offset) { |
| 338 | | | switch (event_id) { |
Empty switch Statement
Body of switch has no effect. This warning could be triggered if: - the body contains no code, or
- all cases share the same code, or
- the body is removed by the preprocessor, or
- all the macros used in the body expand to nothing.
|
|
| 339 | | | |
| 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, |
| |