bt-utp: Fix warning found by Clang Analyzer

packet-bt-utp.c:1052:5: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
This commit is contained in:
Alexis La Goutte 2021-10-20 19:08:44 +00:00 committed by Wireshark GitLab Utility
parent aa0eb732b1
commit cfcd060171
1 changed files with 1 additions and 1 deletions

View File

@ -1051,7 +1051,7 @@ dissect_bt_utp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
offset += dissect_utp_payload(tvb_new_subset_remaining(tvb, offset), pinfo, sub_tree);
return tvb_reported_length(tvb);
return offset;
}
return 0;
}