aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vj-comp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2021-04-14 12:24:37 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-05-06 07:18:22 +0000
commit750563e356601d0ceeccea36910491bead1a7874 (patch)
treea853ff361565063f6097f3e096b658a3b2671710 /epan/dissectors/packet-vj-comp.c
parent8aec509a22f091bfe5f4ca487cb9db9b3db0aa50 (diff)
vj-comp: Fix Dead Store (unused variable)
Diffstat (limited to 'epan/dissectors/packet-vj-comp.c')
-rw-r--r--epan/dissectors/packet-vj-comp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-vj-comp.c b/epan/dissectors/packet-vj-comp.c
index 7a2cf7d336..45335572bd 100644
--- a/epan/dissectors/packet-vj-comp.c
+++ b/epan/dissectors/packet-vj-comp.c
@@ -478,7 +478,7 @@ done_header_len:
ti = proto_tree_add_boolean(subtree, hf_vjc_comp, tvb, 0, 0, TRUE);
proto_item_set_generated(ti);
- ti = proto_tree_add_bitmask(subtree, tvb, 0, hf_vjc_change_mask,
+ proto_tree_add_bitmask(subtree, tvb, 0, hf_vjc_change_mask,
ett_vjc_change_mask, vjc_change_mask_fields, ENC_NA);
if ((flags & VJC_FLAGS_SAWU) == VJC_FLAGS_SAWU) {
proto_tree_add_expert(subtree, pinfo, &ei_vjc_sawu, tvb, 0, 1);
@@ -490,7 +490,7 @@ done_header_len:
offset++;
if (flags & VJC_FLAG_C) {
- ti = proto_tree_add_item_ret_uint(subtree, hf_vjc_cnum, tvb, offset, 1,
+ proto_tree_add_item_ret_uint(subtree, hf_vjc_cnum, tvb, offset, 1,
ENC_BIG_ENDIAN, &vjc_cnum);
last_cnum = vjc_cnum;
offset++;