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>
This commit is contained in:
Alexis La Goutte 2018-08-03 14:36:52 +00:00 committed by Jaap Keuter
parent 2d865f2708
commit 705b5bd52f
1 changed files with 0 additions and 1 deletions

View File

@ -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);