summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-24 09:49:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:42 -0500
commitb58f4364ae9f60192e05f59c3749eafba0905f51 (patch)
tree0da70ef9937ec82381721cc077a633b4bb65ad32 /source4/wrepl_server
parenta485fa050c1b210847bb4867ade25afc5ca941c7 (diff)
downloadsamba-b58f4364ae9f60192e05f59c3749eafba0905f51.tar.gz
samba-b58f4364ae9f60192e05f59c3749eafba0905f51.tar.bz2
samba-b58f4364ae9f60192e05f59c3749eafba0905f51.zip
r17784: fix compiler warnings
metze (This used to be commit 8b806c4c5e4f25e011b545d742097b3b307e5af8)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r--source4/wrepl_server/wrepl_apply_records.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/wrepl_server/wrepl_apply_records.c b/source4/wrepl_server/wrepl_apply_records.c
index dda208eef3..6dff884444 100644
--- a/source4/wrepl_server/wrepl_apply_records.c
+++ b/source4/wrepl_server/wrepl_apply_records.c
@@ -57,13 +57,17 @@ static const char *_R_ACTION_enum_string(enum _R_ACTION action)
}
#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)