File sendmail-8.14.7-warning.patch of Package sendmail

--- libsmdb/smdb.c
+++ libsmdb/smdb.c	2011-05-31 09:54:59.000000000 +0000
@@ -198,11 +198,15 @@ smdb_open_database(database, db_name, mo
 	SMDB_USER_INFO *user_info;
 	SMDB_DBPARAMS *params;
 {
+#if defined(NDBM) && defined(NEWDB)
 	bool type_was_default = false;
+#endif
 
 	if (type == SMDB_TYPE_DEFAULT)
 	{
+#if defined(NDBM) && defined(NEWDB)
 		type_was_default = true;
+#endif
 #ifdef NEWDB
 		type = SMDB_TYPE_HASH;
 #else /* NEWDB */
openSUSE Build Service is sponsored by