Unused Value at packet-gdsdb.c:501 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
gdsdb_accept (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-gdsdb.c)![]() | ||||||
![]() | ||||||
487 | gdsdb_accept(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree) | |||||
488 | { | |||||
489 | int offset; | |||||
490 | ||||||
491 | if (tvb_length(tvb) < 16) { | |||||
492 | return 0; | |||||
493 | } | |||||
494 | if (tree) { | |||||
495 | offset = 4; | |||||
496 | proto_tree_add_item(tree, hf_gdsdb_accept_version, tvb, | |||||
497 | offset, 4, FALSE); | |||||
498 | offset += 4; | |||||
499 | proto_tree_add_item(tree, hf_gdsdb_accept_architecture, tvb, | |||||
500 | offset, 4, FALSE); | |||||
501 | offset += 4;
| |||||
502 | } | |||||
503 | ||||||
504 | return tvb_length(tvb); | |||||
505 | } | |||||
![]() |