svn commit: samba r17784 - in branches/SAMBA_4_0/source/wrepl_server: .

metze at samba.org metze at samba.org
Thu Aug 24 09:50:01 GMT 2006


Author: metze
Date: 2006-08-24 09:49:58 +0000 (Thu, 24 Aug 2006)
New Revision: 17784

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17784

Log:
fix compiler warnings

metze
Modified:
   branches/SAMBA_4_0/source/wrepl_server/wrepl_apply_records.c


Changeset:
Modified: branches/SAMBA_4_0/source/wrepl_server/wrepl_apply_records.c
===================================================================
--- branches/SAMBA_4_0/source/wrepl_server/wrepl_apply_records.c	2006-08-24 09:49:09 UTC (rev 17783)
+++ branches/SAMBA_4_0/source/wrepl_server/wrepl_apply_records.c	2006-08-24 09:49:58 UTC (rev 17784)
@@ -57,13 +57,17 @@
 }
 
 #define R_IS_ACTIVE(r) ((r)->state == WREPL_STATE_ACTIVE)
+#if 0 /* unused */
 #define R_IS_RELEASED(r) ((r)->state == WREPL_STATE_RELEASED)
+#endif
 #define R_IS_TOMBSTONE(r) ((r)->state == WREPL_STATE_TOMBSTONE)
 
 #define R_IS_UNIQUE(r) ((r)->type == WREPL_TYPE_UNIQUE)
 #define R_IS_GROUP(r) ((r)->type == WREPL_TYPE_GROUP)
 #define R_IS_SGROUP(r) ((r)->type == WREPL_TYPE_SGROUP)
+#if 0 /* unused */
 #define R_IS_MHOMED(r) ((r)->type == WREPL_TYPE_MHOMED)
+#endif
 
 /* blindly overwrite records from the same owner in all cases */
 static enum _R_ACTION replace_same_owner(struct winsdb_record *r1, struct wrepl_name *r2)



More information about the samba-cvs mailing list