[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-storage.c, 1.97, 1.98

cras at dovecot.org cras at dovecot.org
Tue Apr 12 14:28:20 EEST 2005


Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv7564/lib-storage/index/maildir

Modified Files:
	maildir-storage.c 
Log Message:
Removed extra 0-initializers from struct storage initializers. They used to
be there because -W gave warnings with gcc, but newer versions seem to be
silent as long as C99 style member initializers are used. Also fixes a
compiling problem with some non-gcc compilers.



Index: maildir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-storage.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- maildir-storage.c	8 Apr 2005 14:32:51 -0000	1.97
+++ maildir-storage.c	12 Apr 2005 11:28:17 -0000	1.98
@@ -875,13 +875,7 @@
 		maildir_set_subscribed,
 		maildir_get_mailbox_name_status,
 		index_storage_get_last_error
-	},
-
-	MEMBER(pool) NULL,
-	MEMBER(error) NULL,
-	MEMBER(flags) 0,
-	MEMBER(module_contexts) ARRAY_INIT,
-	MEMBER(syntax_error) 0
+	}
 };
 
 struct mailbox maildir_mailbox = {
@@ -916,8 +910,5 @@
 		maildir_save_cancel,
 		maildir_copy,
 		index_storage_is_inconsistent
-	},
-
-	MEMBER(pool) NULL,
-	MEMBER(module_contexts) ARRAY_INIT
+	}
 };



More information about the dovecot-cvs mailing list