Unused Value at packet-ncp2222.inc:2138 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
padd_uni (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ncp2222.inc)![]() | ||||||
![]() | ||||||
2130 | static proto_item* | |||||
2131 | padd_uni(ptvcursor_t *ptvc, const ptvc_record *rec) | |||||
2132 | { | |||||
2133 | proto_item *item; | |||||
2134 | /* nw_uni_t nw_uni; */ | |||||
2135 | guint offset; | |||||
2136 | ||||||
2137 | /* nw_uni.buffer[0] = '\0'; */ | |||||
2138 | offset = ptvcursor_current_offset(ptvc);
| |||||
2139 | ||||||
2140 | item = ptvcursor_add(ptvc, *rec->hf_ptr, | |||||
2141 | rec->length, rec->endianness); | |||||
2142 | ||||||
2143 | if (item) { | |||||
2144 | proto_item_set_text(item, "%s", get_item_name(item)); | |||||
2145 | /* proto_item_append_text(item, " %s", | |||||
2146 | nw_uni.buffer); */ | |||||
2147 | } | |||||
2148 | ||||||
2149 | return item; | |||||
2150 | } | |||||
![]() |