aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lat.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-lat.c')
-rw-r--r--epan/dissectors/packet-lat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lat.c b/epan/dissectors/packet-lat.c
index c812954075..dad4656b10 100644
--- a/epan/dissectors/packet-lat.c
+++ b/epan/dissectors/packet-lat.c
@@ -332,10 +332,9 @@ dissect_lat_response_information(tvbuff_t *tvb, int offset, proto_tree *tree)
static int
dissect_lat_string(tvbuff_t *tvb, int offset, int hf, proto_tree *tree)
{
- proto_item *ti;
gint item_length;
- ti = proto_tree_add_item_ret_length(tree, hf, tvb, offset, 1, ENC_LITTLE_ENDIAN, &item_length);
+ proto_tree_add_item_ret_length(tree, hf, tvb, offset, 1, ENC_LITTLE_ENDIAN, &item_length);
return offset + item_length;
}