From b58f4364ae9f60192e05f59c3749eafba0905f51 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Aug 2006 09:49:58 +0000 Subject: r17784: fix compiler warnings metze (This used to be commit 8b806c4c5e4f25e011b545d742097b3b307e5af8) --- source4/wrepl_server/wrepl_apply_records.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/wrepl_server') 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) -- cgit