Unused Value at packet-gsm_a_bssmap.c:2094 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
be_chosen_chan (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-gsm_a_bssmap.c)![]() | ||||||
![]() | ||||||
2087 | be_chosen_chan(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_) | |||||
2088 | { | |||||
2089 | guint8 oct; | |||||
2090 | guint32 curr_offset; | |||||
2091 | ||||||
2092 | curr_offset = offset; | |||||
2093 | ||||||
2094 | oct = tvb_get_guint8(tvb, curr_offset);
| |||||
2095 | ||||||
2096 | /* Channel mode */ | |||||
2097 | proto_tree_add_item(tree, hf_gsm_a_bssmap_ch_mode, tvb, curr_offset, 1, FALSE); | |||||
2098 | ||||||
2099 | proto_tree_add_item(tree, hf_gsm_a_bssmap_channel, tvb, curr_offset, 1, FALSE); | |||||
2100 | ||||||
2101 | curr_offset++; | |||||
2102 | ||||||
2103 | /* no length check possible */ | |||||
2104 | ||||||
2105 | return(curr_offset - offset); | |||||
2106 | } | |||||
![]() |