(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-smb2.c) |
| |
| 3041 | | | offset = dissect_smb2_olb_tvb_max_offset(offset, &s_olb); |
| 3042 | | | |
| 3043 | | | return offset; |
| 3044 | | | } |
| 3045 | | | |
| 3046 | | | static void |
| 3047 | | | dissect_smb2_getinfo_parameters(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, smb2_info_t *si) |
| 3048 | | | { |
| 3049 | | | switch(si->saved->class){ |
| 3050 | | | case SMB2_CLASS_FILE_INFO: |
| 3051 | | | switch(si->saved->infolevel){ |
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.
|
|
| 3052 | | | default: |
| 3053 | | | |
| 3054 | | | proto_tree_add_item(tree, hf_smb2_unknown, tvb, offset, 16, TRUE); |
| 3055 | | | offset += tvb_length_remaining(tvb, offset); |
| 3056 | | | } |
| 3057 | | | break; |
| 3058 | | | case SMB2_CLASS_FS_INFO: |
| 3059 | | | switch(si->saved->infolevel){ |
| 3060 | | | default: |
| 3061 | | | |
| |