aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-22 14:48:51 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-22 21:49:26 +0000
commit6896def6da1216bc697243ccc1527b76c6a5c0bd (patch)
treeb2a6549a0f9ba084d4389c52e073df2f6134c249
parent9c35a5d8fd6308c9c658020e71688742d0671d65 (diff)
Get rid of some unused variables.
Change-Id: I2a806af639e5f0519ba93b0048ec7a4624fa33fc Reviewed-on: https://code.wireshark.org/review/2567 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--asn1/atn-cpdlc/packet-atn-cpdlc-template.c1
-rw-r--r--asn1/atn-ulcs/atn-ulcs.cnf1
-rw-r--r--epan/dissectors/packet-atn-cpdlc.c5
-rw-r--r--epan/dissectors/packet-atn-ulcs.c1
-rw-r--r--epan/dissectors/packet-bacapp.c1
5 files changed, 2 insertions, 7 deletions
diff --git a/asn1/atn-cpdlc/packet-atn-cpdlc-template.c b/asn1/atn-cpdlc/packet-atn-cpdlc-template.c
index d08223f586..61e51a287d 100644
--- a/asn1/atn-cpdlc/packet-atn-cpdlc-template.c
+++ b/asn1/atn-cpdlc/packet-atn-cpdlc-template.c
@@ -128,7 +128,6 @@ dissect_atn_cpdlc(
/* The use of CPDLC is *optional* as the pilot */
/* may always use a voice radio channel to talk to the controller.*/
- proto_item *ti = NULL;
proto_tree *atn_cpdlc_tree = NULL;
atn_conversation_t *atn_cv = NULL;
diff --git a/asn1/atn-ulcs/atn-ulcs.cnf b/asn1/atn-ulcs/atn-ulcs.cnf
index f3f01aeed3..5584b50e14 100644
--- a/asn1/atn-ulcs/atn-ulcs.cnf
+++ b/asn1/atn-ulcs/atn-ulcs.cnf
@@ -46,7 +46,6 @@ PDV-list/presentation-data-values/arbitrary pdv-list_presentation-data-values_ar
packet_info * pinfo = actx->pinfo;
tvbuff_t *tvb_usr = NULL;
- proto_item *ti = NULL;
proto_tree *atn_ulcs_tree = NULL;
atn_conversation_t *atn_cv = NULL;
heur_dtbl_entry_t *hdtbl_entry;
diff --git a/epan/dissectors/packet-atn-cpdlc.c b/epan/dissectors/packet-atn-cpdlc.c
index 3ed86fea18..af5c60fb34 100644
--- a/epan/dissectors/packet-atn-cpdlc.c
+++ b/epan/dissectors/packet-atn-cpdlc.c
@@ -5325,7 +5325,6 @@ dissect_atn_cpdlc(
/* The use of CPDLC is *optional* as the pilot */
/* may always use a voice radio channel to talk to the controller.*/
- proto_item *ti = NULL;
proto_tree *atn_cpdlc_tree = NULL;
atn_conversation_t *atn_cv = NULL;
@@ -7911,7 +7910,7 @@ void proto_register_atn_cpdlc (void)
NULL, HFILL }},
/*--- End of included file: packet-atn-cpdlc-hfarr.c ---*/
-#line 309 "../../asn1/atn-cpdlc/packet-atn-cpdlc-template.c"
+#line 308 "../../asn1/atn-cpdlc/packet-atn-cpdlc-template.c"
};
static gint *ett[] = {
@@ -8062,7 +8061,7 @@ void proto_register_atn_cpdlc (void)
&ett_atn_cpdlc_WindSpeed,
/*--- End of included file: packet-atn-cpdlc-ettarr.c ---*/
-#line 313 "../../asn1/atn-cpdlc/packet-atn-cpdlc-template.c"
+#line 312 "../../asn1/atn-cpdlc/packet-atn-cpdlc-template.c"
&ett_atn_cpdlc
};
diff --git a/epan/dissectors/packet-atn-ulcs.c b/epan/dissectors/packet-atn-ulcs.c
index 5b2673db8b..bc3334e448 100644
--- a/epan/dissectors/packet-atn-ulcs.c
+++ b/epan/dissectors/packet-atn-ulcs.c
@@ -380,7 +380,6 @@ dissect_atn_ulcs_T_pdv_list_presentation_data_values_arbitrary(tvbuff_t *tvb _U_
packet_info * pinfo = actx->pinfo;
tvbuff_t *tvb_usr = NULL;
- proto_item *ti = NULL;
proto_tree *atn_ulcs_tree = NULL;
atn_conversation_t *atn_cv = NULL;
heur_dtbl_entry_t *hdtbl_entry;
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index 5924a79d6d..c629120bf0 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -8913,7 +8913,6 @@ flistOfEventSummaries(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint
guint8 tag_no, tag_info;
guint32 lvt;
proto_tree* subtree = tree;
- proto_item* ti = 0;
while (tvb_reported_length_remaining(tvb, offset) > 0) { /* exit loop if nothing happens inside */
lastoffset = offset;