forked from osmocom/wireshark
lithionics: Fix Dead Store
Fix dead store (Dead assignement/Dead increment) Warning found by Clang
This commit is contained in:
parent
71ea1f9017
commit
b65893f4f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue