Unused Value at packet-gsm_a_gm.c:5041 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dtap_gmm_ident_req (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-gsm_a_gm.c)![]() | ||||||
![]() | ||||||
5017 | dtap_gmm_ident_req(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) | |||||
5018 | { | |||||
5019 | guint32 curr_offset; | |||||
5020 | guint curr_len; | |||||
5021 | ||||||
5022 | curr_offset = offset; | |||||
5023 | curr_len = len; | |||||
5024 | ||||||
5025 | gsm_a_dtap_pinfo->p2p_dir = P2P_DIR_SENT; | |||||
5026 | ||||||
5027 | /* If the half octect that are about to get decoded is the LAST in the octetstream, the macro will call return BEFORE we get a chance to fix the index. The end result will be that the first half-octet will be decoded but not the last. */ | |||||
5028 | #if 0 | |||||
5029 | ELEM_MAND_V(GSM_A_PDU_TYPE_GM, DE_ID_TYPE_2 ); | |||||
5030 | curr_offset--; | |||||
5031 | curr_len++; | |||||
5032 | ELEM_MAND_V(GSM_A_PDU_TYPE_GM, DE_FORCE_TO_STAND_H ); | |||||
5033 | #endif | |||||
5034 | ||||||
5035 | elem_v(tvb, tree, GSM_A_PDU_TYPE_GM, DE_FORCE_TO_STAND_H, curr_offset); | |||||
5036 | elem_v(tvb, tree, GSM_A_PDU_TYPE_GM, DE_ID_TYPE_2, curr_offset); | |||||
5037 | ||||||
5038 | curr_offset+=1; | |||||
5039 | curr_len-=1; | |||||
5040 | ||||||
5041 | EXTRANEOUS_DATA_CHECK(curr_len, 0);
| |||||
5042 | } | |||||
![]() |