summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-06-27 13:07:56 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-06-27 13:07:56 +0000
commit5d56b5d1aaa305f0ee003b99bdd85a054c76bc3e (patch)
tree15eb57ba400aca64732e4e08fda33efde7b42846 /sql
parentf69c4bbf9ce09628798d38e10ae23e15e895b3ec (diff)
downloadmailutils-5d56b5d1aaa305f0ee003b99bdd85a054c76bc3e.tar.gz
mailutils-5d56b5d1aaa305f0ee003b99bdd85a054c76bc3e.tar.bz2
Minor fixes to get rid of the spurious gcc warnings
Diffstat (limited to 'sql')
-rw-r--r--sql/sql.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sql/sql.c b/sql/sql.c
index cbf1d9b2c..7a4d9fdd5 100644
--- a/sql/sql.c
+++ b/sql/sql.c
@@ -1,5 +1,5 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
- Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -48,6 +48,8 @@ init_disptab ()
return 0;
}
+/* FIXME: See comment 'For dynamic loading' below */
+#if 0
static int
add_disptab (mu_sql_dispatch_t *tab)
{
@@ -64,6 +66,7 @@ add_disptab (mu_sql_dispatch_t *tab)
sql_disptab[sql_disptab_next] = tab;
return sql_disptab_next++;
}
+#endif
int
mu_sql_interface_index (char *name)
@@ -75,9 +78,10 @@ mu_sql_interface_index (char *name)
for (i = 1; i < sql_disptab_next; i++)
if (sql_disptab[i] && (!name || strcmp (sql_disptab[i]->name, name) == 0))
return i;
- // FIXME
- // if (name && mu_sql_load_ext (name, "dispatch_tab", &tab))
- // return add_disptab (tab);
+ /* FIXME: For dynamic loading
+ if (name && mu_sql_load_ext (name, "dispatch_tab", &tab))
+ return add_disptab (tab);
+ */
return 0;
}

Return to:

Send suggestions and report system problems to the System administrator.