diff options
author | Martin Mathieson <martin.mathieson@keysight.com> | 2022-11-20 21:18:22 +0000 |
---|---|---|
committer | Martin Mathieson <martin.mathieson@keysight.com> | 2022-11-22 20:55:24 +0000 |
commit | 793365d0e04e43c823521297641bc6ad0ffb6ff1 (patch) | |
tree | 2cf2e193e9a0b390a6e58a77ce9e388fd4cc905f /epan/dissectors/packet-dns.c | |
parent | ec353e89f321487dfad19d4dcf1d68ff38d47a0f (diff) |
Fix some issues seen with cppcheck
Diffstat (limited to 'epan/dissectors/packet-dns.c')
-rw-r--r-- | epan/dissectors/packet-dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dns.c b/epan/dissectors/packet-dns.c index c01bb5026d..d10f75e0ec 100644 --- a/epan/dissectors/packet-dns.c +++ b/epan/dissectors/packet-dns.c @@ -4453,7 +4453,7 @@ dissect_dns_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, ext_tree = proto_tree_add_subtree_format(dns_tree, tvb, cur_off, extraneous_length, ett_dns_extraneous, &it, "Extraneous Data (%d bytes)", extraneous_length); - it = proto_tree_add_item(ext_tree, hf_dns_extraneous_data, tvb, cur_off, extraneous_length, ENC_NA); + proto_tree_add_item(ext_tree, hf_dns_extraneous_data, tvb, cur_off, extraneous_length, ENC_NA); it = proto_tree_add_int(ext_tree, hf_dns_extraneous_length, tvb, 0, 0, extraneous_length); proto_item_set_generated(it); |