Unused Value at packet-ansi_a.c:4149 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
elem_mwi (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ansi_a.c)![]() | ||||||
![]() | ||||||
4144 | elem_mwi(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_string, int string_len) | |||||
4145 | { | |||||
4146 | guint8 oct; | |||||
4147 | guint32 curr_offset; | |||||
4148 | ||||||
4149 | len = len;
| |||||
4150 | curr_offset = offset; | |||||
4151 | ||||||
4152 | oct = tvb_get_guint8(tvb, curr_offset); | |||||
4153 | ||||||
4154 | proto_tree_add_text(tree, | |||||
4155 | tvb, curr_offset, 1, | |||||
4156 | "Number of Messages: %u", | |||||
4157 | oct); | |||||
4158 | ||||||
4159 | curr_offset++; | |||||
4160 | ||||||
4161 | g_snprintf(add_string, string_len, " - (%u)", oct); | |||||
4162 | ||||||
4163 | /* no length check possible */ | |||||
4164 | ||||||
4165 | return(curr_offset - offset); | |||||
4166 | } | |||||
![]() |