diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-11-08 18:06:18 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-11-08 18:06:18 +0000 |
commit | 999b8451cb03bfee3a32135cb71c878510e34369 (patch) | |
tree | 05c5e373a6e7cbf71b08a55e3b78d1328d51316e | |
parent | 0e57cff4dcbbc1313b40e2da738d7c2abed46e44 (diff) |
packet-sbc-ap-template.c:138: warning: unused variable 'offset'
svn path=/trunk/; revision=39762
-rw-r--r-- | asn1/sbc-ap/packet-sbc-ap-template.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-sbc-ap.c | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/asn1/sbc-ap/packet-sbc-ap-template.c b/asn1/sbc-ap/packet-sbc-ap-template.c index 9082dc4f9a..e463092c16 100644 --- a/asn1/sbc-ap/packet-sbc-ap-template.c +++ b/asn1/sbc-ap/packet-sbc-ap-template.c @@ -135,8 +135,6 @@ dissect_sbc_ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_item *sbc_ap_item = NULL; proto_tree *sbc_ap_tree = NULL; - int offset = 0; - /* make entry in the Protocol column on summary display */ if (check_col(pinfo->cinfo, COL_PROTOCOL)) diff --git a/epan/dissectors/packet-sbc-ap.c b/epan/dissectors/packet-sbc-ap.c index 8d7c855042..78d4426a0e 100644 --- a/epan/dissectors/packet-sbc-ap.c +++ b/epan/dissectors/packet-sbc-ap.c @@ -1209,8 +1209,6 @@ dissect_sbc_ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_item *sbc_ap_item = NULL; proto_tree *sbc_ap_tree = NULL; - int offset = 0; - /* make entry in the Protocol column on summary display */ if (check_col(pinfo->cinfo, COL_PROTOCOL)) @@ -1455,7 +1453,7 @@ void proto_register_sbc_ap(void) { "UnsuccessfulOutcome_value", HFILL }}, /*--- End of included file: packet-sbc-ap-hfarr.c ---*/ -#line 160 "../../asn1/sbc-ap/packet-sbc-ap-template.c" +#line 158 "../../asn1/sbc-ap/packet-sbc-ap-template.c" }; /* List of subtrees */ @@ -1490,7 +1488,7 @@ void proto_register_sbc_ap(void) { &ett_sbc_ap_UnsuccessfulOutcome, /*--- End of included file: packet-sbc-ap-ettarr.c ---*/ -#line 166 "../../asn1/sbc-ap/packet-sbc-ap-template.c" +#line 164 "../../asn1/sbc-ap/packet-sbc-ap-template.c" }; @@ -1548,7 +1546,7 @@ proto_reg_handoff_sbc_ap(void) /*--- End of included file: packet-sbc-ap-dis-tab.c ---*/ -#line 199 "../../asn1/sbc-ap/packet-sbc-ap-template.c" +#line 197 "../../asn1/sbc-ap/packet-sbc-ap-template.c" } else { if (SctpPort != 0) { dissector_delete_uint("sctp.port", SctpPort, sbc_ap_handle); |