aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/mate_setup.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-23 22:49:23 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-23 22:49:23 +0000
commit2896811274e430759305c7f25889cb0214213409 (patch)
tree30e2ec739ccffe6f19049153950e1d31f6604f66 /plugins/mate/mate_setup.c
parent3288a39db202082ceb1120367d017792323fdecf (diff)
Fix about 150 warnings new to gcc 4.0 in the error on warning directories.
Comment out -Werror in plugins/asn1/ until warnings can be fixed. svn path=/trunk/; revision=21158
Diffstat (limited to 'plugins/mate/mate_setup.c')
-rw-r--r--plugins/mate/mate_setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mate/mate_setup.c b/plugins/mate/mate_setup.c
index c9146eee50..06c35d0ce1 100644
--- a/plugins/mate/mate_setup.c
+++ b/plugins/mate/mate_setup.c
@@ -606,6 +606,7 @@ static void append_avpl(GString* str, AVPL* avpl) {
g_string_sprintfa(str,")");
}
+#if 0 /* XXX - Not used anywhere, for testing only? */
static void print_transforms(gpointer k, gpointer v, gpointer p) {
AVPL_Transf* t;
GString* str = p;
@@ -656,6 +657,7 @@ static void print_transforms(gpointer k, gpointer v, gpointer p) {
g_string_sprintfa(str,"};\n\n");
}
+#endif /* 0 */
static void append_transforms(GString* s, GPtrArray* ts) {
guint i;
@@ -677,6 +679,8 @@ static void print_hfid_hash(gpointer k, gpointer v, gpointer p _U_) {
g_string_sprintfa((GString*)p,"\tExtract %s From %s;\n",(guint8*)v,my_protoname(*(int*)k));
}
+/* XXX - Not used anywhere, for testing only? */
+#if 0
static void print_pdu_config(mate_cfg_pdu* cfg, GString* s) {
guint i;
int hfid;
@@ -858,6 +862,7 @@ static void print_config(void) {
g_string_free(config_text,TRUE);
}
+#endif /* 0 */
extern mate_config* mate_make_config(const gchar* filename, int mate_hfid) {
gint* ett;