Unused Value at packet-quake2.c:371 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dissect_quake2_client_commands_stringcmd (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-quake2.c)![]() | ||||||
![]() | ||||||
362 | dissect_quake2_client_commands_stringcmd(tvbuff_t *tvb, packet_info *pinfo _U_, | |||||
363 | proto_tree *tree) | |||||
364 | { | |||||
365 | guint len; | |||||
366 | proto_item *stringcmd_item; | |||||
367 | ||||||
368 | len = tvb_strsize(tvb, 0); | |||||
369 | ||||||
370 | if (tree) { | |||||
371 | stringcmd_item = proto_tree_add_text(tree, tvb, 0, len, "Command: %s",
| |||||
372 | tvb_get_ptr(tvb, 0, len)); | |||||
373 | } | |||||
374 | ||||||
375 | return len; | |||||
376 | } | |||||
![]() |