(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ansi_683.c) |
| |
| 639 | | | static const gchar * |
| 640 | | | for_param_block_systag(guint8 block_type) |
| 641 | | | { |
| 642 | | | const gchar *str; |
| 643 | | | |
| 644 | | | switch (block_type) |
| 645 | | | { |
| 646 | | | case 0: str = "Home System Tag"; break; |
| 647 | | | case 1: str = "Group Tag List"; break; |
| 648 | | | case 2: str = "Specific Tag List"; break; |
| 649 | | | case 3: str = "Call Prompt List"; break; |
| 650 | | | default: |
| 651 | | | str = "Reserved"; break; |
| 652 | | | if ((block_type >= 4) && (block_type <= 127)) { str = "Reserved for future standardization"; break; } |
Unreachable Computation
The highlighted code will not execute under any circumstances. This may be because of: |
|
| 653 | | | else if ((block_type >= 128) && (block_type <= 254)) { str = "Available for manufacturer-specific parameter block definitions"; break; } |
| 654 | | | else { str = "Reserved"; break; } |
| 655 | | | } |
| 656 | | | |
| 657 | | | return(str); |
| 658 | | | } |
| |