[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-storage.c, 1.44, 1.45

tss at dovecot.org tss at dovecot.org
Fri Mar 30 21:28:37 EEST 2007


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

Modified Files:
	dbox-storage.c 
Log Message:
Allow index_mailbox.is_recent() to be NULL if it's not needed.



Index: dbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-storage.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- dbox-storage.c	30 Mar 2007 14:12:49 -0000	1.44
+++ dbox-storage.c	30 Mar 2007 18:28:35 -0000	1.45
@@ -291,12 +291,6 @@
 	return 0;
 }
 
-static bool dbox_is_recent(struct index_mailbox *ibox __attr_unused__,
-			   uint32_t uid __attr_unused__)
-{
-	return FALSE;
-}
-
 static void dbox_lock_touch_timeout(struct dbox_mailbox *mbox)
 {
 	(void)dbox_uidlist_lock_touch(mbox->uidlist);
@@ -330,7 +324,6 @@
 	mbox->ibox.box.pool = pool;
 	mbox->ibox.storage = &storage->storage;
 	mbox->ibox.mail_vfuncs = &dbox_mail_vfuncs;
-	mbox->ibox.is_recent = dbox_is_recent;
 	mbox->ibox.index = index;
 
 	value = getenv("DBOX_ROTATE_SIZE");



More information about the dovecot-cvs mailing list