Remove more unused variables/forward declarations

svn path=/trunk/; revision=30520
This commit is contained in:
Kovarththanan Rajaratnam 2009-10-11 17:25:04 +00:00
parent 0dcf31b8bc
commit 81d9f3030d
2 changed files with 9 additions and 15 deletions

View File

@ -74,13 +74,10 @@ static struct tcaphash_context_t * gp_tcap_context=NULL;
#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;
@ -90,7 +87,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
@ -102,7 +98,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;
@ -350,8 +348,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");

View File

@ -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[] = {