From bb71b37f702bc034a208060b599b384d47fb4fb9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 3 Jan 2005 14:38:05 +0000 Subject: r4506: fix compiler warnings metze (This used to be commit 1c6accd7cbf9ccb7f642b85200671b9d4fe23f47) --- source4/lib/ldb/modules/timestamps.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4') diff --git a/source4/lib/ldb/modules/timestamps.c b/source4/lib/ldb/modules/timestamps.c index 719aed19ba..09679435f5 100644 --- a/source4/lib/ldb/modules/timestamps.c +++ b/source4/lib/ldb/modules/timestamps.c @@ -64,7 +64,6 @@ static int timestamps_search_free(struct ldb_module *module, struct ldb_message static int add_time_element(struct ldb_module *module, struct ldb_message *msg, const char *attr_name, const char *time_string, unsigned int flags) { - struct private_data *data = (struct private_data *)module->private_data; struct ldb_val *values; char *name, *timestr; int i; @@ -99,7 +98,6 @@ static int add_time_element(struct ldb_module *module, struct ldb_message *msg, /* add_record: add crateTimestamp/modifyTimestamp attributes */ static int timestamps_add_record(struct ldb_module *module, const struct ldb_message *msg) { - struct private_data *data = (struct private_data *)module->private_data; struct ldb_message *msg2 = NULL; struct tm *tm; char *timestr; @@ -156,7 +154,6 @@ static int timestamps_add_record(struct ldb_module *module, const struct ldb_mes /* modify_record: change modifyTimestamp as well */ static int timestamps_modify_record(struct ldb_module *module, const struct ldb_message *msg) { - struct private_data *data = (struct private_data *)module->private_data; struct ldb_message *msg2 = NULL; struct tm *tm; char *timestr; -- cgit