aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2018-05-13 18:29:16 +0200
committerAnders Broman <a.broman58@gmail.com>2018-05-16 04:15:06 +0000
commite18d20c728ca7b77f8c5a75f1e9b7e16219aaca6 (patch)
tree6052332c07991b005b3c05242aed426ce048edea
parent233c27e9dc20ff249d4ef391956abf55edf7224e (diff)
wbxml: fix issue found by PVS Studio (V1001)
The 'len' variable is assigned but is not used until the end of the function Change-Id: I98f0cc298e503412e0bdf8919a4a7be8ef45a2f9 Reviewed-on: https://code.wireshark.org/review/27506 Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-wbxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wbxml.c b/epan/dissectors/packet-wbxml.c
index 89e388455a..ed0d112f6f 100644
--- a/epan/dissectors/packet-wbxml.c
+++ b/epan/dissectors/packet-wbxml.c
@@ -7877,7 +7877,7 @@ dissect_wbxml_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
"Level | State | Codepage | WBXML Token Description | Rendering");
/* If content_map == NULL, WBXML only, no interpretation of the content */
- len = parse_wbxml_tag_defined (tag_tree,
+ parse_wbxml_tag_defined (tag_tree,
tvb, pinfo, offset, str_tbl, &level, &codepage_stag,
&codepage_attr, content_map);
}