summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-03 14:38:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:16 -0500
commitbb71b37f702bc034a208060b599b384d47fb4fb9 (patch)
treece0f97a56ae24338bb9b826ec353abd982f061b5 /source4/lib
parentb92afa3838ba14fbe66bb683949a7f3bce946faa (diff)
downloadsamba-bb71b37f702bc034a208060b599b384d47fb4fb9.tar.gz
samba-bb71b37f702bc034a208060b599b384d47fb4fb9.tar.bz2
samba-bb71b37f702bc034a208060b599b384d47fb4fb9.zip
r4506: fix compiler warnings
metze (This used to be commit 1c6accd7cbf9ccb7f642b85200671b9d4fe23f47)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/modules/timestamps.c3
1 files changed, 0 insertions, 3 deletions
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;