diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-10-11 17:25:04 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-10-11 17:25:04 +0000 |
commit | 81d9f3030dc4f50609a6f419f2e25006984b890d (patch) | |
tree | cc2d456b2e1d2e791a349b84f87b220b6c6f733a /epan/dissectors/packet-ansi_tcap.c | |
parent | 0dcf31b8bcaded63237d8b497f09eb08d3d6100a (diff) |
Remove more unused variables/forward declarations
svn path=/trunk/; revision=30520
Diffstat (limited to 'epan/dissectors/packet-ansi_tcap.c')
-rw-r--r-- | epan/dissectors/packet-ansi_tcap.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/epan/dissectors/packet-ansi_tcap.c b/epan/dissectors/packet-ansi_tcap.c index 67f1427950..a0d919efd3 100644 --- a/epan/dissectors/packet-ansi_tcap.c +++ b/epan/dissectors/packet-ansi_tcap.c @@ -165,13 +165,10 @@ static gint ett_ansi_tcap_T_paramSet = -1; #define MAX_SSN 254 -gboolean g_ansi_tcap_HandleSRT=FALSE; extern gboolean gtcap_PersistentSRT; -extern gboolean gtcap_DisplaySRT; extern guint gtcap_RepetitionTimeout; extern guint gtcap_LostTimeout; -/* static dissector_handle_t tcap_handle = NULL; */ static dissector_table_t ber_oid_dissector_table=NULL; static const char * cur_oid; static const char * tcapext_oid; @@ -181,7 +178,6 @@ static proto_item * tcap_stat_item=NULL; static dissector_handle_t ansi_map_handle; - struct ansi_tcap_private_t ansi_tcap_private; #define MAX_TID_STR_LEN 1024 @@ -193,7 +189,9 @@ static void ansi_tcap_ctx_init(struct ansi_tcap_private_t *a_tcap_ctx) { } static void dissect_ansi_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree); + /* +static dissector_handle_t tcap_handle = NULL; static dissector_table_t sccp_ssn_table; static GHashTable* ansi_sub_dissectors = NULL; @@ -1302,7 +1300,7 @@ dissect_ansi_tcap_PackageType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int /*--- End of included file: packet-ansi_tcap-fn.c ---*/ -#line 313 "packet-ansi_tcap-template.c" +#line 311 "packet-ansi_tcap-template.c" @@ -1343,8 +1341,7 @@ dissect_ansi_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) gp_tcap_context=NULL; dissect_ansi_tcap_PackageType(FALSE, tvb, 0, &asn1_ctx, tree, -1); -#if 0 /* Skipp this part for now it will be rewritten */ - +#if 0 /* Skip this part for now it will be rewritten */ if (g_ansi_tcap_HandleSRT && !tcap_subdissector_used ) { if (gtcap_DisplaySRT && tree) { stat_item = proto_tree_add_text(tree, tvb, 0, 0, "Stat"); @@ -1630,7 +1627,7 @@ proto_register_ansi_tcap(void) "ansi_tcap.T_paramSet", HFILL }}, /*--- End of included file: packet-ansi_tcap-hfarr.c ---*/ -#line 432 "packet-ansi_tcap-template.c" +#line 429 "packet-ansi_tcap-template.c" }; /* Setup protocol subtree array */ @@ -1667,7 +1664,7 @@ proto_register_ansi_tcap(void) &ett_ansi_tcap_T_paramSet, /*--- End of included file: packet-ansi_tcap-ettarr.c ---*/ -#line 442 "packet-ansi_tcap-template.c" +#line 439 "packet-ansi_tcap-template.c" }; /*static enum_val_t tcap_options[] = { |