aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2012-07-16 15:54:53 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2012-07-16 15:54:53 +0000
commita76f4990b83a34f83b5ba72c192bebfbebc1e76d (patch)
treed8909440855681c8e0aee227bcc673c20e53fdb9
parentb0e44929a3fee43b013f0dff3adeff9de1145598 (diff)
Comment a few unused variables / functions
svn path=/trunk/; revision=43754
-rw-r--r--asn1/nbap/packet-nbap-template.c14
-rw-r--r--epan/dissectors/packet-nbap.c14
2 files changed, 14 insertions, 14 deletions
diff --git a/asn1/nbap/packet-nbap-template.c b/asn1/nbap/packet-nbap-template.c
index 5905e6b8a8..ead17f1468 100644
--- a/asn1/nbap/packet-nbap-template.c
+++ b/asn1/nbap/packet-nbap-template.c
@@ -194,9 +194,9 @@ typedef struct _attribute_type_t {
gchar* attribute_type;
gchar* attribute_desc;
} attribute_type_t;
-static attribute_type_t* attribute_types = NULL;
+/*static attribute_type_t* attribute_types = NULL;
static guint num_attribute_types = 0;
-static GHashTable* attribute_types_hash = NULL;
+static GHashTable* attribute_types_hash = NULL;*/
/* Dissector tables */
static dissector_table_t nbap_ies_dissector_table;
@@ -258,16 +258,16 @@ dissect_nbap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
dissect_NBAP_PDU_PDU(tvb, pinfo, nbap_tree);
}
-static void
+/*static void
attribute_types_initialize_cb(void)
{
}
static void
-attribute_types_free_cb(void*r)
+attribute_types_free_cb(void*r _U_)
{
}
static void
-attribute_types_update_cb(void *r, const char **err)
+attribute_types_update_cb(void *r _U_, const char **err _U_)
{
g_warning("Running attr types update");
@@ -275,12 +275,12 @@ attribute_types_update_cb(void *r, const char **err)
}
static void *
-attribute_types_copy_cb(void* n, const void* o, size_t siz _U_)
+attribute_types_copy_cb(void* n _U_, const void* o _U_, size_t siz _U_)
{
return NULL;
-}
+}*/
/*--- proto_register_nbap -------------------------------------------*/
void proto_register_nbap(void) {
diff --git a/epan/dissectors/packet-nbap.c b/epan/dissectors/packet-nbap.c
index fc4c4d9444..8805fd4ad3 100644
--- a/epan/dissectors/packet-nbap.c
+++ b/epan/dissectors/packet-nbap.c
@@ -6587,9 +6587,9 @@ typedef struct _attribute_type_t {
gchar* attribute_type;
gchar* attribute_desc;
} attribute_type_t;
-static attribute_type_t* attribute_types = NULL;
+/*static attribute_type_t* attribute_types = NULL;
static guint num_attribute_types = 0;
-static GHashTable* attribute_types_hash = NULL;
+static GHashTable* attribute_types_hash = NULL;*/
/* Dissector tables */
static dissector_table_t nbap_ies_dissector_table;
@@ -54481,16 +54481,16 @@ dissect_nbap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
dissect_NBAP_PDU_PDU(tvb, pinfo, nbap_tree);
}
-static void
+/*static void
attribute_types_initialize_cb(void)
{
}
static void
-attribute_types_free_cb(void*r)
+attribute_types_free_cb(void*r _U_)
{
}
static void
-attribute_types_update_cb(void *r, const char **err)
+attribute_types_update_cb(void *r _U_, const char **err _U_)
{
g_warning("Running attr types update");
@@ -54498,12 +54498,12 @@ attribute_types_update_cb(void *r, const char **err)
}
static void *
-attribute_types_copy_cb(void* n, const void* o, size_t siz _U_)
+attribute_types_copy_cb(void* n _U_, const void* o _U_, size_t siz _U_)
{
return NULL;
-}
+}*/
/*--- proto_register_nbap -------------------------------------------*/
void proto_register_nbap(void) {