(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ansi_683.c) |
| |
| 4495 | | | |
| 4496 | | | if (block_len > (len - (offset - saved_offset))) |
| 4497 | | | { |
| 4498 | | | proto_tree_add_none_format(subtree, hf_ansi_683_none, tvb, |
| 4499 | | | offset, len - (offset - saved_offset), "Short Data (?)"); |
| 4500 | | | return; |
| 4501 | | | } |
| 4502 | | | |
| 4503 | | | if (block_len > 0) |
| 4504 | | | { |
| 4505 | | | switch (block_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.
|
|
| 4506 | | | { |
| 4507 | | | #ifdef MLUM |
| 4508 | | | case REV_BLOCK_MMS_URI: |
| 4509 | | | rev_param_block_mms_uri(tvb, subtree, block_len, offset); |
| 4510 | | | break; |
| 4511 | | | |
| 4512 | | | case REV_BLOCK_MMS_URI_CAP: |
| 4513 | | | rev_param_block_mms_uri_cap(tvb, subtree, block_len, offset); |
| 4514 | | | break; |
| 4515 | | | #endif |
| |