[dovecot-cvs] dovecot/src/lib-sql sql-api.c,1.1,1.2

cras at dovecot.org cras at dovecot.org
Sat Oct 16 19:47:15 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-sql
In directory talvi:/tmp/cvs-serv17742

Modified Files:
	sql-api.c 
Log Message:
warning fix when not compiled with any sql drivers



Index: sql-api.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-sql/sql-api.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sql-api.c	15 Oct 2004 23:12:52 -0000	1.1
+++ sql-api.c	16 Oct 2004 16:47:12 -0000	1.2
@@ -3,7 +3,8 @@
 #include "lib.h"
 #include "sql-api-private.h"
 
-struct sql_db *sql_init(const char *db_driver, const char *connect_string)
+struct sql_db *sql_init(const char *db_driver,
+			const char *connect_string __attr_unused__)
 {
 #ifdef HAVE_PGSQL
 	if (strcmp(db_driver, "pgsql") == 0)



More information about the dovecot-cvs mailing list