Useless Assignment at packet-infiniband.c:2020 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
parse_GUIDInfo (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-infiniband.c)![]() | ||||||
![]() | ||||||
2008 | static void parse_GUIDInfo(proto_tree* parentTree, tvbuff_t* tvb, gint *offset) | |||||
2009 | { | |||||
2010 | gint local_offset = *offset; | |||||
2011 | proto_tree *GUIDInfo_header_tree = NULL; | |||||
2012 | proto_item *tempItemLow = NULL; | |||||
2013 | gint i = 0; | |||||
2014 | ||||||
2015 | if(!parentTree) | |||||
2016 | return; | |||||
2017 | ||||||
2018 | GUIDInfo_header_tree = parentTree; | |||||
2019 | ||||||
2020 | for(i = 0; i < 8; i++)
| |||||
2021 | { | |||||
2022 | proto_tree_add_item(GUIDInfo_header_tree, hf_infiniband_GUIDInfo_GUID, tvb, local_offset, 8, FALSE); local_offset +=8; | |||||
2023 | proto_item_append_text(tempItemLow, "(%u)", i); | |||||
2024 | } | |||||
2025 | ||||||
2026 | } | |||||
![]() |