[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.118, 1.119

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


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

Modified Files:
	mbox-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: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- mbox-storage.c	8 Apr 2005 14:32:52 -0000	1.118
+++ mbox-storage.c	12 Apr 2005 11:28:20 -0000	1.119
@@ -1007,13 +1007,7 @@
 		mbox_set_subscribed,
 		mbox_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 mbox_mailbox = {
@@ -1048,8 +1042,5 @@
 		mbox_save_cancel,
 		mail_storage_copy,
 		index_storage_is_inconsistent
-	},
-
-	MEMBER(pool) NULL,
-	MEMBER(module_contexts) ARRAY_INIT
+	}
 };



More information about the dovecot-cvs mailing list