diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-08-03 14:36:52 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2018-08-04 07:51:51 +0000 |
commit | 705b5bd52fc9736ff15c76e53e9017fed4031a11 (patch) | |
tree | 4ae6839144f399aff07d314ac484e2d33af34026 /epan/dissectors/file-rfc7468.c | |
parent | 2d865f270848431817e8908e812d52f49ee68c8f (diff) |
rfc7648: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Idc37628b7f3022e83b53a34f388ce976aab0888e
Reviewed-on: https://code.wireshark.org/review/28941
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Diffstat (limited to 'epan/dissectors/file-rfc7468.c')
-rw-r--r-- | epan/dissectors/file-rfc7468.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/file-rfc7468.c b/epan/dissectors/file-rfc7468.c index 7688cc7f7b..66c8022678 100644 --- a/epan/dissectors/file-rfc7468.c +++ b/epan/dissectors/file-rfc7468.c @@ -350,7 +350,6 @@ dissect_rfc7468(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data /* * Extract the label, and put it in that subtree. */ - label = wmem_strndup(wmem_packet_scope(), labelp, labellen); proto_tree_add_item(posteb_tree, hf_rfc7468_posteb_label, tvb, offset + posteb_prefix_len, labellen, ENC_ASCII|ENC_NA); |