Unused Value at packet-ansi_a.c:4794 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
elem_tag (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ansi_a.c)![]() | ||||||
![]() | ||||||
4789 | elem_tag(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_string, int string_len) | |||||
4790 | { | |||||
4791 | guint32 value; | |||||
4792 | guint32 curr_offset; | |||||
4793 | ||||||
4794 | len = len;
| |||||
4795 | curr_offset = offset; | |||||
4796 | ||||||
4797 | value = tvb_get_ntohl(tvb, curr_offset); | |||||
4798 | ||||||
4799 | proto_tree_add_text(tree, | |||||
4800 | tvb, curr_offset, 4, | |||||
4801 | "Tag Value: %u", | |||||
4802 | value); | |||||
4803 | ||||||
4804 | g_snprintf(add_string, string_len, " - (%u)", value); | |||||
4805 | ||||||
4806 | curr_offset += 4; | |||||
4807 | ||||||
4808 | /* no length check possible */ | |||||
4809 | ||||||
4810 | return(curr_offset - offset); | |||||
4811 | } | |||||
![]() |