(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ansi_683.c) |
| |
| 4181 | | | |
| 4182 | | | if (block_len > (len - (offset - saved_offset))) |
| 4183 | | | { |
| 4184 | | | proto_tree_add_none_format(subtree, hf_ansi_683_none, tvb, |
| 4185 | | | offset, len - (offset - saved_offset), "Short Data (?)"); |
| 4186 | | | return; |
| 4187 | | | } |
| 4188 | | | |
| 4189 | | | if (block_len > 0) |
| 4190 | | | { |
| 4191 | | | 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.
|
|
| 4192 | | | { |
| 4193 | | | #ifdef MLUM |
| 4194 | | | case REV_BLOCK_MMD_APP: |
| 4195 | | | rev_param_block_mmd_app(tvb, subtree, block_len, offset); |
| 4196 | | | break; |
| 4197 | | | #endif |
| 4198 | | | |
| 4199 | | | default: |
| 4200 | | | proto_tree_add_none_format(subtree, hf_ansi_683_none, |
| 4201 | | | tvb, offset, block_len, "Block Data"); |
| |