aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-08 19:47:56 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-09 03:48:27 +0000
commit9b83ae856f6291dbd2c979964258476a351748f5 (patch)
treeb3cc675ad8ba5eee8fa3edd897599215b0e3cb79 /epan/dissectors/packet-lat.c
parent835a44d084fc24acbe13d361c9a7df1af15831e9 (diff)
Get rid of unused variable.
Change-Id: Ic9104ddba17797a3e541cebd4326035e874b27de Reviewed-on: https://code.wireshark.org/review/13143 Reviewed-by: Guy Harris <guy@alum.mit.edu>
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;
}