summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2016-03-19 13:06:37 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-03-19 23:09:01 +0000
commitd4194585ba930ecd428cc07f9cd4078e09d33c21 (patch)
treef6c20f7116e350cc6fb1a3638c26094519ad9bb0
parent68c84a7e66669eb5300520fd01d5e838d03cced2 (diff)
downloadwireshark-d4194585ba930ecd428cc07f9cd4078e09d33c21.tar.gz
Remove unused header field.
Removing setting up and decoding for a header field which never can be used anyway. Change-Id: Ieed7810dd654df944a5bd16a7b84d3367bf9fa14 Reviewed-on: https://code.wireshark.org/review/14524 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
-rw-r--r--epan/dissectors/packet-rmt-lct.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/epan/dissectors/packet-rmt-lct.c b/epan/dissectors/packet-rmt-lct.c
index 945b8c2814..0dd83dbab4 100644
--- a/epan/dissectors/packet-rmt-lct.c
+++ b/epan/dissectors/packet-rmt-lct.c
@@ -66,11 +66,9 @@ static int hf_flags_close_object = -1;
static int hf_hlen = -1;
static int hf_codepoint = -1;
static int hf_cci = -1;
-static int hf_tsi = -1;
static int hf_tsi16 = -1;
static int hf_tsi32 = -1;
static int hf_tsi48 = -1;
-static int hf_toi = -1;
static int hf_toi16 = -1;
static int hf_toi32 = -1;
static int hf_toi48 = -1;
@@ -376,11 +374,6 @@ dissect_lct(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
switch (tsi_size)
{
- case 0:
- proto_tree_add_uint(lct_tree, hf_tsi, tvb, offset, tsi_size, 0);
- tsi = 0;
- break;
-
case 2:
proto_tree_add_item(lct_tree, hf_tsi16, tvb, offset, tsi_size, ENC_BIG_ENDIAN);
tsi = tvb_get_ntohs(tvb, offset);
@@ -409,11 +402,6 @@ dissect_lct(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
switch (toi_size)
{
- case 0:
- proto_tree_add_uint(lct_tree, hf_toi, tvb, offset, toi_size, 0);
- toi = 0;
- break;
-
case 2:
proto_tree_add_item(lct_tree, hf_toi16, tvb, offset, toi_size, ENC_BIG_ENDIAN);
toi = tvb_get_ntohs(tvb, offset);
@@ -555,11 +543,6 @@ proto_register_rmt_lct(void)
FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
- { &hf_tsi,
- { "Transport Session Identifier", "rmt-lct.tsi",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL }
- },
{ &hf_tsi16,
{ "Transport Session Identifier", "rmt-lct.tsi",
FT_UINT16, BASE_DEC, NULL, 0x0,
@@ -575,11 +558,6 @@ proto_register_rmt_lct(void)
FT_UINT64, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
- { &hf_toi,
- { "Transport Object Identifier", "rmt-lct.toi",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL }
- },
{ &hf_toi16,
{ "Transport Object Identifier", "rmt-lct.toi",
FT_UINT16, BASE_DEC, NULL, 0x0,