forked from osmocom/wireshark
ncsi: Fix warning found by Clang Analyzer
packet-ncsi.c:653:55: warning: Although the value stored to 'offset' is used in the enclosing expression, the value is never actually read from 'offset' [deadcode.DeadStores]
This commit is contained in:
parent
c3687757b9
commit
71f4712532
|
@ -650,7 +650,7 @@ ncsi_proto_tree_add_cap(tvbuff_t *tvb, proto_tree *tree, int offset)
|
|||
proto_tree_add_item(tree, hf_ncsi_cap_uccnt, tvb, offset += 1, 1, ENC_NA);
|
||||
proto_tree_add_bitmask_with_flags(tree, tvb, offset += 3, hf_ncsi_cap_vmode,
|
||||
ett_ncsi_cap_vmode, cap_vmode_fields, ENC_BIG_ENDIAN, BMT_NO_APPEND);
|
||||
proto_tree_add_item(tree, hf_ncsi_cap_chcnt, tvb, offset += 1, 1, ENC_NA);
|
||||
proto_tree_add_item(tree, hf_ncsi_cap_chcnt, tvb, offset, 1, ENC_NA);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue