Unused Value at packet-q931.c:2454 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dissect_q931_party_category_ie (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-q931.c)![]() | ||||||
![]() | ||||||
2441 | dissect_q931_party_category_ie(tvbuff_t *tvb, int offset, int len, | |||||
2442 | proto_tree *tree) | |||||
2443 | { | |||||
2444 | guint8 octet; | |||||
2445 | ||||||
2446 | if (len == 0) | |||||
2447 | return; | |||||
2448 | ||||||
2449 | octet = tvb_get_guint8(tvb, offset); | |||||
2450 | proto_tree_add_text(tree, tvb, offset, 1, | |||||
2451 | "Party category: %s", | |||||
2452 | val_to_str(octet&0x07, q931_party_category_vals, | |||||
2453 | "Unknown (0x%02x)")); | |||||
2454 | offset += 1;
| |||||
2455 | len -= 1; | |||||
2456 | ||||||
2457 | if (len == 0) | |||||
2458 | return; | |||||
2459 | } | |||||
![]() |