lithionics: Fix Dead Store

Fix dead store (Dead assignement/Dead increment) Warning found by Clang
This commit is contained in:
Alexis La Goutte 2020-09-22 21:43:37 +02:00 committed by Wireshark GitLab Utility
parent 71ea1f9017
commit b65893f4f4
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ dissect_lithionics(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da
proto_tree_add_item(lithionics_tree, hf_lithionics_temination, tvb, offset, 2, ENC_NA);
offset += 2;
return tvb_captured_length(tvb);
return offset;
}
void